Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
228 views
hi,
In my application, i was using Grid of asp.net.

and using that grid's ResponseScripts I was opening rad window, this way....

grdExams.ResponseScripts.Clear();

grdExams.ResponseScripts.Add(

string.Format("window.radopen({0});", args));


But now I have replaced that grid with Prometheus one. but Prometheus Grid does not support ResponseScripts.

Can any one tell what is the alternative of ResponseScripts in Prometheus grid.

Please help me.
Priya
Sebastian
Telerik team
 answered on 16 Apr 2008
1 answer
102 views
I have implemented a custom DB provider. The list resources depends on the value selected in a DropDown.
1) in week/day view, if I change the selected value and then double click to add a new appointment, the list of resources reflects my selection
2) if in advanced insert form and I select another value from the dropdown, the list of resources is refreshed BUT with one selection delay. That is, if I selected USA, then EUROPE, it will show me the selection of USA. Then if I select USA, it will show selection of EUROPE and so on.

Any clue? I am calling Scheduler1.DataBind() in the SelectedIndex_Change event but it does not help.
Peter
Telerik team
 answered on 16 Apr 2008
1 answer
332 views
How can I get back the Width of a RadPane in Percent after a postback?

I am creating the Splitters and Panes dynamically, and on the creation of the Panes, I am specifying their widths in percentages. I have a postback LinkButton that will persist the state of the splitters and panes - but when I access the Width of the panes, they are all specified in pixels -- not percentages.

I checked with firebug, and the width in pixels that is being returned matches the width of the pane in the browser, but I want the width to be in percent not pixels.

Thanks,
Adam
Svetlina Anati
Telerik team
 answered on 16 Apr 2008
1 answer
93 views
Has RadDatePicker been set up to work with MultiViewColumns yet? I've got the old Javascript solution for the older version of RadInput + disconnected RadCalendar sitting around, no problem there, but I was hoping to avoid using tricks and hacks with Prometheus.
Steve
Telerik team
 answered on 16 Apr 2008
6 answers
329 views
I love your Scheduler because it makes things so simple. With that in mind, I'd like to keep the default appointment form for the scheduler (so I don't have to rewrite all the controls in a template, such as Recurrence controls). But I was wondering if there was a way to add controls to the Advanced Insert/Edit and then retrieve their values once the Appointment is added/updated?

To be more specific, here's 2 examples:

1) I want to add a checkbox for "Remind Me" to each appointment. Then IF (and only if) they check it, I add a new row to a seperate table in the database.

2) I want to add an extra textbox at the top so there is "Subject" and "Body" to each appointment. How can I add this and retrieve the value later?

Thank You! And keep up the great work!
Peter
Telerik team
 answered on 16 Apr 2008
1 answer
282 views
Hi there,
I am trying to add a few buttons on my page
Here is code behind of Page_Load event:
(default.aspx.cs)
for (int i = 0; i < totalPages; i++)  
{  
     LinkButton b = new LinkButton();  
     b.Text = // never mind  
     b.CssClass = //never mind  
     b.ID = "spb" + i;  
 
     Panel1.Controls.Add(b);  
     RadAjaxManager1.AjaxSettings.AddAjaxSetting(b, RadAjaxPanel1, RadAjaxLoadingPanel1);  
} 
Also in code behind i have the AjaxRequest event handler. This handler updates contents of the RadAjaxPanel1. Running this simple project produce the following code in HTML(please, pay attention to the third argument, it's a _asyncPostBackControlIDs collection of the PageRequestManager):
Sys.WebForms.PageRequestManager.getInstance()._updateControls['tRadAjaxPanel1Panel','tRadAjaxManager1SU'], ['spb0'], [], 90) 
It's obvious that on the current page only 'spb0' control is 'ajaxified'.
Clicking on the LinkButton 'spb0' will proof that statement.
Clicking on the other LinkButtons will generate default postbacks.
Trying to make a little trick with the PageRequestManager i put this code in my default.aspx(at the very end of this file):
<script type="text/javascript">  
        Sys.WebForms.PageRequestManager.getInstance()._updateControls(['tRadAjaxPanel1Panel','tRadAjaxManager1SU'], ['spb0','spb1',...,'spbx'], [], 90);  
</script> 
This code will force all LinkButtons to generate Ajax requests, but unfortunately in code behind only first control 'spb0' generate true AjaxRequest event and return real content of RadAjaxPanel1. All other requests generates no content.
Tracing down all responses i found the following statement in response body:
asyncPostBackControlIDs||spb0| 
So, only the first control created in code behind is able to generate ajax requests...
Simple web project with a controls added to the default page from the toolbox works fine....
Please show where i'm wrong?
Pavel
Telerik team
 answered on 16 Apr 2008
6 answers
203 views
Hi,

Is there a way the RadGrid can be used to drag and drop rows to reorder them? At the moment I use the Reorderlist control in the AJAXControlToolkit but I would prefer to be able to do this with a gridview so my users don't have to go to another page to reorder their records.

Thanks,
Curt.
Sebastian
Telerik team
 answered on 16 Apr 2008
2 answers
148 views
I would love the ability to edit some content with the RadEditor, then tell it to save that content as a template.  It would then take the content of the editor and just save it to a file in your templates upload folder.

Is that possible?  If not, would you consider doing this?

Thank you.
LeBear
Top achievements
Rank 1
 answered on 16 Apr 2008
4 answers
129 views
Hi,

I have a DNN module with RadChart inside, at dev server everything works ok, but on production charts are not displayed. I checked links to img files and everything looks ok, I have also changed UseSession to false, but still no luck (img files are generated in temp folder). Any ideas what can be wrong?

PS. Site uses AD authorization, can this make any difference?
possible
Top achievements
Rank 1
 answered on 15 Apr 2008
1 answer
219 views
I just downloaded the newest update to the Prometheus tools.  I am currently running the uninstall of my previous version, which so far has taken more than an hour...it is still "gathering information.

Is there a better way of handling this?  It's unbelievably slow.
Chris Ruegsegger
Top achievements
Rank 1
 answered on 15 Apr 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?