Hi,
i am using Infragistics "NetAdvantageWebClient20091" license Version.
Requirment:
i am working on UltraWebGrid and the grid have 3-Rows and 3- Column.
And my requirment is:
when i click on 1st Row 3rd Column then a DropDownList should be opened and when i click on 2nd Row and 3rd Column then a WebDateChooser should be opened.
Could you please let me know that this functionality is available in Infragistics "NetAdvantageWebClient20091" or not. if it is available then how to achive this functionality.
Note: I know that this functionality is available in "NetAdvantage_WinForms_20091" but i am searching for web application.
Thanks & Regard's
Sachin Kumar
Sachin,
To have different controls in different cells in the same WebGrid column, you need to use a templated column. You can put nearly any ASP.NET or HTML controls within the templates of a templated column.
The following article from our online Knowledge Base provides a starting point by illustrating how to change the contents of an individual cell of a templated column:HOWTO: How to alter the contents of Column Templates for specific rows
Thanks Vince McDonald,
now, i am able to create different control on different cell in same WebGrid column. but now the main problem is that how can i get value from column template control.
i want to use the value which i have seleted from the template control dropdown.
please send me the reply ASAP because it is very urgent for me.
The article which I provided shows you how to get to the CellItem object that represents what a cell in a templated column contains. From that CellItem object, you can use the FindControl() method to get a reference to your control. From there, you can get the value of your control.
The following post illustrates some good ways to reference a control inside a templated column:http://forums.infragistics.com/forums/p/26392/97012.aspx#97012
I don't understand the question.
I recommend that you start a new forum thread for new questions. That'll make it easier for you, us, and other forum readers to track what questions are answered and what those answers are.
Thanks for quick response.
McDonald, Is it possible that UltraWebGrid column "template or template control" show when mouse over on cell and hide when mouse out on cell .