Ask a Question related to ASP.NET General, Design and Development.
-
Onur Bozkurt #1
DropDownList in an .ascx file problem.
I have a dropdownlist in an .ascx file. When using the dropdown it is workin
3 or 4 times and suddenly it gives an error like "Control
'DropDown1_ddlUrunler' of type 'DropDownList' must be placed inside a form
tag with runat=server."
Onur Bozkurt Guest
-
programatically get ascx file name
Can anyone tell me how to get a string of the file name for an ascx file? On an aspx file, Request.Servervariables will return the path of the... -
Access ASCX controls from the Code Behind file?
Hi All! I'm using Code-behind model for my ASP.NET pages. But to skip the compilation step, I reference my code-behind pages as follows... <%@... -
Using Global variable in .ascx file
How can I use a Global variable in .ascx page. I have created a menu control and registered it in my .ascx file. I want to use the global variable... -
how to load an ascx file in class.vb ?
I need to import an *;ascx, as an object, in my class, that is in myclass.vb. How can i do ? i saw the method LoadControl but i can't use it, or... -
Javascript in ascx file
Is there any limitations in using javascript in .ascx files (user controls) I got it working just fine but some of the properties for objects, ie... -
James J. Foster #2
Re: DropDownList in an .ascx file problem.
Are you using the control on different pages, or as part of a framework UI,
or dynamically loading the control? Please post a snippet of your page where
the error is happening and the control used so we can diagnose in more
detail.
James J. Foster, DotNetCoders
[url]http://www.dotnetcoders.com[/url]
"Onur Bozkurt" <onur.bozkurt@softhome.net> wrote in message
news:%238h5mXKPDHA.1556@TK2MSFTNGP10.phx.gbl...workin> I have a dropdownlist in an .ascx file. When using the dropdown it is> 3 or 4 times and suddenly it gives an error like "Control
> 'DropDown1_ddlUrunler' of type 'DropDownList' must be placed inside a form
> tag with runat=server."
>
>
James J. Foster Guest



Reply With Quote

