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

Open RadWindow on Cell Click (Client Side)

7 Answers 155 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Mohammad Waheed
Top achievements
Rank 1
Mohammad Waheed asked on 10 Feb 2010, 01:04 PM
Dear all

I am facing a problem on opening a radWindow using a grid cell, the scenario is that an image button should hold an id that is used by the page to be opened. any ideas ... ? 

 

7 Answers, 1 is accepted

Sort by
0
Accepted
Princy
Top achievements
Rank 2
answered on 10 Feb 2010, 01:23 PM
Hello Mohammad,

You can access the image in ItemCreated event and attach onclick attribute and pass the required id to the event handler. Then in the client side handler, use the "id" to open the radwindow.

The following demo shows similar kind of scenenario: Window Editing

Thanks,
Princy.
0
Mohammad Waheed
Top achievements
Rank 1
answered on 15 Aug 2010, 03:44 PM
Hello Dear 

Thanks for your help, I had a pain in my nick trying to know how to get the panel width , height in pixels after page is loaded while the design of the panel is setting the width to 80%. 

Any Ideas will be great.
0
Mira
Telerik team
answered on 19 Aug 2010, 08:26 AM
Hello Mohammad,

The provided information is not enough for us to fully understand your scenario. Could you please provide little bit more details?
Where is the panel located? What controls are nested in it?
Sending us its definition will be appreciated.

Kind regards,
Mira
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Mohammad Waheed
Top achievements
Rank 1
answered on 25 Aug 2010, 11:28 PM
Thanx All

I have a panel splitted like outlook, A navigation panel and a content panel, there width in design time is to 20% and 80% in respective. 
The content panel contains some controls (non-telerik), my problem is when I load the page (it a bit heavy), first, the control inside the content panel needs to know the width (In pixle) of  content panel before it loads. 


* Think about if outlook opens then the email grid and email body start to resize after alone. 


I hope this makes it clear. 


0
Mira
Telerik team
answered on 30 Aug 2010, 02:55 PM
Hello Mohammad,

Please take a look at the following resources and let me know whether you find them useful:
Resizing RadGrid in RadSplitter
Setting 100% height and resize on container resize for grid with scrolling and static headers

All the best,
Mira
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Mohammad Waheed
Top achievements
Rank 1
answered on 08 Sep 2010, 08:16 PM
Hello Mera 

It did not solve the problem! specially I am using non-telerik component inside the panel, My request it how to convert the width of some 
panel from percentage to a value in pixel? note that when screen resolution change the window.clientWidth is not the best solution. 

regards 

Waheed.
0
Mira
Telerik team
answered on 13 Sep 2010, 03:30 PM
Hello Mohammad,

Please take a look at the following demo showing how the desired functionality can be implemented:
Splitter / Resize with Window

I hope this helps.

Kind regards,
Mira
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Grid
Asked by
Mohammad Waheed
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Mohammad Waheed
Top achievements
Rank 1
Mira
Telerik team
Share this question
or