Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
139 views
I think I'm being stupid on this one but I need to ask.

I have a UserControl with a RadDateTimePicker and the SelectedDateChanged event set to get handled in server codebehind. When the date or time are changed by the user, the event is fired, but neither the 'sender' nor the arguments object have all of the data.

The sender is the control but the SelectedDate on the sender is null. Sometimes the sender FocusedDate has the new value. In the SelectedDateChangedEventArgs value, the OldDate and NewDate are null.

The events being fired are in this order on PostBack:
Page_Load in the parent container, where I invoke setup methods in all user controls to set their initial values.
Page_Load for all user controls.
SelectedDateChanged
Page_LoadComplete for parent
Page_LoadComplete for each UC.
Then in Page_PreRender I get the control data and save it to SessionState so that I can refresh it the next time in.

I felt a need to go through that because controls initially weren't refreshing after postback.

I'm wondering if the sender or arguments are getting trashed prior to the SelectedDateChanged event because I load from state before that event fires. But that doesn't make sense to me.

Any ideas?
Thank you VERY much.
TonyG
Top achievements
Rank 1
 answered on 19 Dec 2013
14 answers
703 views
Using the suggestions on this forum, I've created a radwindow which refreshes the parent page via AJAX postback.

On the parent page, from code behind, I rebind a control that was updated in the radwindow like this:

protected void RadAjaxManager1_AjaxRequest(object sender, Telerik.Web.UI.AjaxRequestEventArgs e)
    {   
        FormView1.DataBind();
    }

FormView1 is an an update panel and it works perfectly the first time.  However, after I reopen the radwindow before a full postback, it does not call the AJAX function again.  I tried setting the radwindow with DestroyOnClose using both true and false and it still doesn't work.

Any suggestions?




Sam
Top achievements
Rank 1
 answered on 19 Dec 2013
2 answers
122 views
How do I install the Telerik Reporting Controls? I downloaded the Telerik Reporting Control Panel and installed the Report components but I don't see them In the toolbox.
Raymond
Top achievements
Rank 1
 answered on 19 Dec 2013
5 answers
162 views
Hi All,

I have an entirely code-behind C# Radgrid solution, living in SharePoint.  I have implemented a detail table within my mastertable and the hierarchy (parent-child) functionality of the grid works well.  However, this is only when I use RadGrid.DataSource = SQLDataSource.  Doing this breaks column sorting though. 

Changing my code to RadGrid.DataSourceID = SQLDataSource.ID allows me to sort the columns but breaks the hierarchy.  Does anyone have any suggestions on how to fix this?

Thanks,
Mark
Wendy Prince
Top achievements
Rank 1
 answered on 19 Dec 2013
1 answer
235 views
Hello,
Could I use any class in Telerik to export Html to Pdf?

I get Html content and I'd like to convert to Pdf.
Is it possible do it with any Telerik class "no UI control"?

 I've used ASP.NET AJAX on my project.

Thanks for answer.
David
Top achievements
Rank 1
Iron
Veteran
Iron
 answered on 19 Dec 2013
1 answer
108 views
Hi
How to get the export to excel having xlsx extension?
Shinu
Top achievements
Rank 2
 answered on 19 Dec 2013
7 answers
277 views
I have a radgrid on an aspx page and have set up an edit form template to edit one of the columns.  The problem is when I click on the button to edit the column, instead of getting only the tables in the edit form I get those tables plus the remaining radgrid data under it.  I have tried it as a modal popup, inline and all other possibilities with the same results each time.  I've attached a couple of jpegs to show what I mean.  Any help is appreciated.
John
Top achievements
Rank 1
 answered on 19 Dec 2013
1 answer
165 views
hi 
i hav a gridboundcolumn with price as datafield. Dataformatstring is currency. This is all ok.but when in edit mode the currency symbol is not maintained.how to have the same format in edit mode?
Princy
Top achievements
Rank 2
 answered on 19 Dec 2013
1 answer
58 views
Hi.
I have a GridEditCommanColumn , i want to hide this when the grid goes to insert mode?
Shinu
Top achievements
Rank 2
 answered on 19 Dec 2013
1 answer
67 views
HI
i want to do some operation when grid is in edit mode. How to know when the grid goes to edit in clientside. Which is the suitable event?
Princy
Top achievements
Rank 2
 answered on 19 Dec 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
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?