Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
225 views
i am trying to sample the following demo code: (vb)
http://demos.telerik.com/aspnet-ajax/ajax/examples/manager/dynamicajaxsettings/defaultcs.aspx?product=grid

everything looks ok when i apply the code to a single page aspx and ascx.  But when i try to put the aspx code in a master.page it throws the following error.  Object ref. not set to an instance.....for the ascx line:

RadAjaxManager.GetCurrent(Page).AjaxSettings.AddAjaxSetting(editButton, Me.Page.FindControl("DivExternalForm"), TryCast(Me.Page.FindControl("RadAjaxLoadingPanel1"), RadAjaxLoadingPanel))

 

 

 

 



subroutine:

 

 

Protected Sub RadGrid1_ItemCreated(ByVal sender As Object, ByVal e As GridItemEventArgs)

 

 

 

 

If TypeOf e.Item Is GridDataItem Then

 

 

 

Dim editButton As ImageButton = TryCast(TryCast(e.Item, GridDataItem)("EditColumn").Controls(0), ImageButton)

 

 

 

 

RadAjaxManager.GetCurrent(Page).AjaxSettings.AddAjaxSetting(editButton, Me.Page.FindControl("DivExternalForm"), TryCast(Me.Page.FindControl("RadAjaxLoadingPanel1"), RadAjaxLoadingPanel))

 

 

 

 

ElseIf TypeOf e.Item Is GridCommandItem Then

 

 

 

Dim insertButton As LinkButton = TryCast(TryCast(e.Item, GridCommandItem).FindControl("btnInitInsert"), LinkButton)

 

 

 

 

RadAjaxManager.GetCurrent(Page).AjaxSettings.AddAjaxSetting(insertButton, Me.Page.FindControl("ctl00_ContentPlaceHolder1_DivExternalForm"), TryCast(Me.Page.FindControl("RadAjaxLoadingPanel1"), RadAjaxLoadingPanel))

 

 

 

 

End If

 

 

 

End Sub

thanks
Doug

 

Radoslav
Telerik team
 answered on 17 Mar 2011
1 answer
87 views
Hello,

I have a page that was using "RadDock for ASP.NET" that I upgraded to the latest version of "RadDock for ASP.NET AJAX".

After following this article:
Migrating From RadDock ASP.NET To ASP.NET AJAX

I finally got the page to compile again...but I have no client-side functionality whatsoever.
ex.
clicking the expand/collapse arrow or the "x" to close the dock does nothing
"EnableDrag" is set to true, but I cannot drag a dock
The cursor always stays the normal pointer arrow (in the old version hovering over the dock's title bar turned the cursor into the "4-way arrow" and hovering over the expand/collapse arrow or the "x" would change the cursor to the "hand")

It's like all client functionality is disabled?  How do I re-enable?
Pero
Telerik team
 answered on 17 Mar 2011
1 answer
82 views
HI

i have  to  Assing value to radcombo which is in  user control of parent page from Child page Window using java Script

window.opener.document.getElementById(

'ctl00_GenericPlaceHolder_UserCotrol_DropDown').value = 123;
this Script is working with Asp.Net DropDown but not with Telerick Drop Down
 
For  Telerick Drop Down im using Enable Load on demand true

please help me fixing This 

Thanks
Harin



 

Kalina
Telerik team
 answered on 17 Mar 2011
1 answer
220 views
Hi,
Here i have a senerio in RadScheduler regarding appointment sorting. I have an appointment, that is created for multi days and scheduled time is 12:00 am to 01:00 am.  The  another appointment scheduled for only day  with no specific time. Now my requirement is the appointment which is created with no specific schedule should come first and rest of the appointments should sort order by earliest time. But the problem that i am facing is multi days schedule appointments are comming at  top. Please give me some idea to arrenge these appointments in sorting order that match my requirement.

Thanks,
Deepak 
Peter
Telerik team
 answered on 17 Mar 2011
1 answer
151 views
Is it possible to add a text box to a Radchart?  

I am charting financial data over time. Periodically an event happens which affects the data and in the data source, these events are recorded. If possible, I would like to create another textblock in code, read in these events from the data source and write them out as text inside the chart background area (without affecting the chart and labels which are working nicely).

I realise I can do this outside of the chart, but I have a nice sized space inside the background area of the chart, below the series legend which would be otherwise unused. 

thanks,
fudoki
Evgenia
Telerik team
 answered on 17 Mar 2011
9 answers
255 views
Unlike every other browser, Internet Explorer (8, 8 compatibility mode, 7) does not display the background overlay that grays out the background and makes everything outside of the window unclickable when Modal is set to true. There are no Javascript errors and looking at the source you see that "<div style="position: absolute; left: 0px; top: 0px; z-index: 3000; background-color: rgb(170, 170, 170); opacity: 0.5; width: 1387px; height: 1574px;" unselectable="on" class="TelerikModalOverlay"></div>" isn't there when using Internet Explorer, even though it is for Firefox. I can't find anyone else with this problem after searching Google and these forums.
Georgi Tunev
Telerik team
 answered on 17 Mar 2011
2 answers
135 views
Hi all,

Could you please advice how to remove standard RAD Window animation(while window content being loaded) or at least to replace the image being used?

Thanks,
Myxville
Mykhaylo
Top achievements
Rank 1
 answered on 17 Mar 2011
3 answers
125 views
Hello,

I have a Treeview that is loadonDemand via a webservice and works fine. I have PersistLoadOnDemandNodes Set to TRUE as i need to do some server side things when a user clicks the Node.

All works fine separately but not together.

If a user clicks the expand Icon the Nodes are loaded just fine.
If the User click the Node my server side code renders fine.

However is a user doesnt expand and just click the node the Server side code is execute and you see the Webservice load the Nodes and then they disappear.

I think this has to do with the AjaxPanel its wrapped in from the Masterpage. Any ideas
Kate
Telerik team
 answered on 17 Mar 2011
1 answer
126 views
hi,

when i click on the telerik radscheduler the whole screen is selected (thou i clicked on the appointment) and then i have to select on the particular event to handle some navigation... is there any way to avoid such experience for the user like screen getting selected as whole ???


thanks in advance
Veronica
Telerik team
 answered on 17 Mar 2011
4 answers
158 views
If I'm not mistaken, the only documentation available to VS2008 users is online or in a CHM file that has to be downloaded separately.

So we have to have 2 help readers open now, rather than one.

Nice one guys. Real forward thinking.

-- 
Stuart
Stuart Hemming
Top achievements
Rank 2
 answered on 17 Mar 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?