I just created an object for Tab page and loaded Gridcontrol.ascx user control which has devexpress gridview.Īfter that I just called addTabPages method in my Tabpage usercontrol and passed this Tabpage object as a parameter in it.In below code tabPreview is the object for Tabcontrol usercontrol. Now on that button click, I need to add a Tab page in that Devexpress Tabcontrol retaining this Grid on first tab.īut its not getting added, its getting refreshed on that button click GridViewCommandColumnCustomButton CusButton = new GridViewCommandColumnCustomButton() Ĭ = "~/Images/color.jpg" GridViewCommandColumn col = new GridViewCommandColumn() Inside that Grid I am loading button on run-time by following code. Inside that Tabcontrol I am having Devexpress Grid.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |