Hey everyone. I'm having a problem in VS2008 and the toolkit. It's kind of hard to explain but I will do my best.
I'm having trouble with accessing properties from an AJAX entended ASP.NET control in the code-behind file. It happens on both my own project and in every project that uses code-behind in the SampleWebSite.
I'm using the Toolkit 3.5, no custom build, using the binary from the 3.5 SampleWebSite bin directory.
I took several screenshots to help show what I mean.
This first screen just shows the panel (login panel) that i want to have popup in the Modal extender.
There is a ScriptManager and a ModalPopupExtender in the HTML code (see below)
<ajaxToolkit:ToolkitScriptManagerID="ScriptManager1"runat="server"/><ajaxToolkit:ModalPopupExtenderID="ScriptManager1_ModalPopupExtender"
runat="server"TargetControlID="btnSignIn"PopupControlID="pnlLoginModal"CancelControlID="btnModalCancel"
DropShadow="True"OkControlID="btnModalOk"BackgroundCssClass="modalBackground"PopupDragHandleControlID="pnlModalDrag">
</ajaxToolkit:ModalPopupExtender>
The second screenshot shows what happens when I try to get the "Text" property of the Textbox inside the modal panel (not in run time, in code)
Notice the tooltip. Is this a normal behavior for AJAX or am I doing something wrong? I don't understand because every time the code-behind files in the SampleWebSite try and use a property is shows as an invalid symbol also.
Thanks for any help.
--Matt
I don't know if there is any signifigance to this but, I tried and opened the SampleWebSite for the .NET 2.0 runtime and the code-behind works fine. Is there something in the 3.5 reference list that needs to be changed when working with 3.5 and the toolkit designed for 3.5 or what?
Here is another screenshot with the Control toolkit solution opened and the CascadingDropDown code-behind showing (unaltered by myself). Notice all the invalid symbols..
I'm using VS2008 with all .NET runtimes installed on XP sp2. I really need to figure out what's going on so any suggestions would be great. Thanks,
--Matt
Nevermind; I found out what was going on after researching for a few hours It turns out ReSharper from Jetbrains doesn't like AJAX in the current build hence it flags its properties as illegal. It builds fine but still annoying.
Thanks to all who read my post..
--Matt
No comments:
Post a Comment