Can anybody help me of using tree_view control in asp.net ? I want to use this control without using database. Can anybody give me a sample of how to use it?
Related
I am trying to disable a control this way:
YAHOO.Bubbling.fire("disableControl", {'formId':'nss_docs_list', 'fieldId' : "cm:description"})
But it doesn't work (and always returns false). Please tell me how to disable a controls on form properly?
Thank you!
I have a requirement to create n-tiered type grid with the ability to expand rows. First thought was the Treeview control as you can dynamically add to a node easily but you can only have one text value. Does anyone know of a tree/grid control that exists?
Or can anyone suggest an alternative to this route?
Something like Telerik TreeList?
I am making one web application.Registration form is quite large.So I want to show user the steps like(sep1,step2).How to handle in asp.net?
You can use the Wizard control.
You can use wizard control
http://www.codeproject.com/Articles/15804/ASP-NET-2-0-Wizard-Control
http://weblogs.asp.net/scottgu/archive/2006/02/21/438732.aspx
is there any way to fill a controll type System.Web.UI.WebControls.Menu with data from database if i use ASP.Net MVC?
If yes how can i do this?
Fill? Probably.
Use effectively? Probably not.
WebForm controls are built around the page lifecycle and viewstate. MVC has neither of those.
You could accomplish something similar by using a Partial View for your menu and create a ViewModel to populate it - just populate the ViewModel with your data from the DB. But otherwise Jfar is correct.
I'll get some links if I can - currently on my phone. Hope this helps some.
I have never done this before and am very beginner in this one, so please treat me that way and help me. Obviously this is a complex topic for me at this stage.
I need to develop a custom data-bound control which will contain, few text-boxes, drop-down lists, labels, and other standard web-server controls. And, I want to be able to load this control from a web page on button click. When the user enters any data to any of its child controls, i should be able to save, and also retrieve when the data-bound control is loaded again. Also, the data in the child control should retain their value on postback.
Can someone help me getting into building this? What approach should i follow? Any books or artilces matching my requirement will be really helpful which i can read and help me develop this.
Here is an example of a custom data bound control: http://msdn.microsoft.com/en-us/library/ms366540.aspx
Just out of curiosity, using a FormView or DetailsView control wouldn't solve the problem you are experiencing? It has to be a custom control?