This is a migrated thread and some comments may be shown as answers.

Grid is not visible in the server side code

2 Answers 57 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jebamalai
Top achievements
Rank 1
Jebamalai asked on 23 Jul 2008, 06:15 AM
Dear Telerik Team,

I am using the telerik Rad Grid Net2 whose version is follows:
Runtime version: v2.0.50727
Version 5.1.1.0

I have included the DLL in the application and then in the server side code it is not visible for binding data to it.

Same way the skin which is in the new controls are not applicable to it. How to apply my own style to it?

Can any one help in this regard?


Best Regards,
M. J. Jaya Chitra

2 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 23 Jul 2008, 06:56 AM
Hi Jaya,

Have you placed the RadGrid in the design page? If so you can access the RadGrid in the NeedDataSource event and bind it accordingly.

Here is a demo link which shows how to bind Grid in the NeedDataSource event.
Advanced data-binding

You can also refer the following help articles to get more details about RadGrid Skins.

Skins
Modifying existing skins/creating new skins

Thanks
Shinu.
0
Jebamalai
Top achievements
Rank 1
answered on 23 Jul 2008, 11:08 AM
Dear Shinu,
I have dragged and dropped the RadGrid in my designer page.

But in the cs file the grid name is not accessible i.e in order to code the grid we have to specify the name of the grid and then a dot and then we will take its properties and function of it.

But the grid name is not coming in the code behind file.

While analyzing, I found that the designer.cs file is not having the declaration of the control like (protected global:: Telerik.WebControls.Grid <gridname>) can you tell me why it is happening so?

Even though I give it manually, it deleting it I close the designer.cs file.

Tags
Grid
Asked by
Jebamalai
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Jebamalai
Top achievements
Rank 1
Share this question
or