Server side controls in xml format [Resolved]

Posted by RohiK under XML on 12/6/2010 | Points: 10 | Views : 1443 | Status : [Member] | Replies : 1
Hi all,


my question is little bit different this time.
I want to create/save server side controls of asp .net like textbox , dropdown .. etc using XML means
I want to create my own control and it will interpret like
<my:TextBox id=""></my:TextBox>

plz plz help it's very urgent

Thank you

Happy Programming!!
Rohi



Responses

Posted by: SheoNarayan on: 12/6/2010 [Administrator] HonoraryPlatinum | Points: 50

Up
0
Down

Resolved
You want to create control or you want to just render the text like that. If you want to create a control you can read following articles

http://www.dotnetfunda.com/articles/article28.aspx This article will help you creating a sample custom control and also show you how to use. You can also read below article to know how to create and use custom control http://www.dotnetfunda.com/articles/article554-creating-dynamic-pages-using-custom-control-.aspx .

If you just want to render the text like that use escape character something like below.

string s = "<my:TextBox id=\"MyId\"></my:TextBox>"


Hope this will help.

Thanks

Regards,
Sheo Narayan
http://www.dotnetfunda.com

RohiK, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response