| | |
Someone help me if possible!
Please support our ASP.NET advertiser: Intel Parallel Studio Home
![]() |
In short -- no. For standard <asp: you don't have to worry about tag prefixes either that you might with third party controls. Why are you trying to get at designer generated code in your application anyway? It isn't valid markup .. unless you are trying to write a code generator for making asp.net pages?
•
•
Join Date: Sep 2008
Posts: 36
Reputation:
Solved Threads: 0
•
•
•
•
In short -- no. For standard <asp: you don't have to worry about tag prefixes either that you might with third party controls. Why are you trying to get at designer generated code in your application anyway? It isn't valid markup .. unless you are trying to write a code generator for making asp.net pages?
Or can you provide me with other solutions that can help me in this situation?
Last edited by Alexpap; Jul 14th, 2009 at 7:52 am.
Can you just build a list of known controls and use that? When you drop a control on the designer it calls RegisterTagPrefix() which handles getting the prefix name if it is already in use etc etc.
I would recommend dropping the controls on a form and getting the string values and going from there. You also have to update the .designer.cs file with the control names and classes. This isn't a straightforward thing to do but it can be done
I would recommend dropping the controls on a form and getting the string values and going from there. You also have to update the .designer.cs file with the control names and classes. This isn't a straightforward thing to do but it can be done
![]() |
Other Threads in the ASP.NET Forum
- Previous Thread: How to refresh main page in popup screen
- Next Thread: How to count the no of hits to the website
| Thread Tools | Search this Thread |
.net 2.0 3.5 ajax alltypeofvideos appliances asp asp.net beginner box browser businesslogiclayer button c# cac checkbox class commonfunctions compatible content contenttype control countryselector courier dataaccesslayer database datagrid datagridview datalist deployment development dgv dialog dropdownlist dropdownmenu dynamic dynamically edit embeddingactivexcontrol fileuploader fill findcontrol flash flv formview gridview gudi iis javascript list listbox login menu microsoft mouse mssql nameisnotdeclared news novell numerical opera order panelmasterpagebuttoncontrols problem radio ratings redirect registration relationaldatabases reportemail schoolproject search security serializesmo.table sessionvariables silverlight smoobjects software sql sql-server sqlserver2005 ssl tracking treeview validatedate validation vb.net videos vista visual-studio visualstudio vs2008 web webapplications webarchitecture webdevelopment webprogramming webservice wizard xsl






