Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
118 views
I have images in the RadGrid header for each column, they work great but whenever I expand/collapse a group within the grid - the images disappear.

Is there some server-side event that fires for the Group collapse/expand...do I have to "rebind" the header images upon that event?

Thanks in advance for your help.
Shinu
Top achievements
Rank 2
 answered on 23 Oct 2008
1 answer
103 views
Currently evaluating telerik.  Do you have any examples for master detail tables on separate grid, instead of a single grid using object datasource. We have 9 tables in hirearchy.

Thanks,Praveen.
Princy
Top achievements
Rank 2
 answered on 23 Oct 2008
1 answer
151 views
Hi,

The following line shows me an error  that the number of arguments donot match.

this

.RadGrid1.NeedDataSource+=new Telerik.WebControls.GridNeedDataSourceEventHandler(this.RadGrid1_NeedDataSource);

what is wrong with the above line?

Thank you.

 

Shinu
Top achievements
Rank 2
 answered on 23 Oct 2008
2 answers
92 views
Dear Telerik Support Team,

I cannot find a client spec on the client side API(javscript) of rad controls. Is there any link for that? My version is RadControls for ASPNET AJAX Q2 2008. Any help is highly appreciated.

Regards,
Alex
Alex Yung
Top achievements
Rank 1
 answered on 23 Oct 2008
2 answers
137 views
I have a RadScheduler in a simple DNN module.  The module is set to use Partial Page Rendering.  The schedule is in Month view by default and only has two appointments to display.  Clicking the appointment fires the AppointmentClick event which redirects the user to a different page.

The problem is that the AppointmentClick event will randomly NOT be fired and the appointments will disappear from the schedule.  I can test it 5 or 6 times and it will work correctly.  Occasionally, however, the click event will not be fired and the appointments will disappear from the calendar.  It appears as though the ViewState is lost.

At that point, I can set a breakpoint in Visual Studio at the Page_Load event to confirm that it always gets called.  Because the DataSource for the scheduler is only set and bound when IsPostBack=false I never see the data again.  I can change the schedular view to Day, Week or Month and the view will change but the data will never be displayed again because there is no post back.

What would cause the ViewState to randomly be lost?

I have spent a great deal of time troubleshooting this issue to no avail.  Any help is greatly appreciated!
Thanks,
Dave
broctune
Top achievements
Rank 1
 answered on 22 Oct 2008
2 answers
70 views
can the content on the editor be validated using the requiredfiled validator or any other ASP.net validator control?
to make sure the user entered some input...
john
Top achievements
Rank 1
 answered on 22 Oct 2008
4 answers
236 views
I need to determine the value selected in a combo in the OnClientDropDownClosing event.  Ive setup the combo like this

<telerik:RadComboBox ID="RadComboBoxCategories" Runat="server"  
                                    EnableLoadOnDemand="true" OnClientItemsRequested="ItemsLoaded"  
                                    OnClientItemsRequesting="OnClientItemsRequesting"  
                                    onitemsrequested="RadComboBoxCategories_ItemsRequested" Skin="Web20"  
                                    Width="250px" AutoPostBack="False" OnClientDropDownClosing="OnCategoriesClientDropDownClosing"> 
                                    <CollapseAnimation Duration="200" Type="OutQuint" /> 
                                </telerik:RadComboBox> 
 and have this javascript function

function OnCategoriesClientDropDownClosing(sender, eventArgs) { 
                var txt = sender.get_text(); 
                                 
                if (txt != "")  
                { 
                    var masterTableView = $find("<%= RadGridSecondaryCategories.ClientID %>").get_masterTableView(); 
                    var category = ""; 
                    for (var i = 0, j = masterTableView.get_dataItems().length; i < j; i++) { 
                        var thecell = masterTableView.getCellByColumnUniqueName(masterTableView.get_dataItems()[0], "Category"); 
                        category = masterTableView.getCellByColumnUniqueName(masterTableView.get_dataItems()[0], "Category").innerText; 
                        
                        category = trim(category); 
                        if (txt == category)  
                        { 
                            eventArgs.set_cancel(true); 
                        } 
                        else  
                        { 
                            eventArgs.set_cancel(false); 
                        } 
                    } 
                } 
            } 

The problem is that sender.get_text() returns the original value in the dropdown, not the newly selected value.  I need this to perform a check in a grid that determines if the newly selectd value exists in the grid and if it does the operation is cancelled.

How can I get the newly selected value in the dropdown ?
mww
Top achievements
Rank 1
 answered on 22 Oct 2008
1 answer
150 views
Hello..

We are using controls suite called "Prometheus"... when we placed on a page a RadCombobox and loaded the page, an error was shown telling that ScriptManager must be present.

When we added ScriptManager to the page, a JavaScript error was shown, telling that 'Sys' in undefined.

How to solve it? why RadCombobox depends on ScriptManager presence in the page?

Thanks in advance
Jaime
Serrin
Top achievements
Rank 1
 answered on 22 Oct 2008
3 answers
324 views
Hello,

I am using RadControls for ASP.NET AJAX v2008.1.619.20 as the only grid on a page.  Can I have both fixed-width and dymanic-width columns in the same grid?

So if I resize the grid, some columns stay a fixed-width but other columns can expand/contract as necessary.

Thanks,

Randall Price
Randall
Top achievements
Rank 2
 answered on 22 Oct 2008
4 answers
304 views
I am using a RadTreeView to update a panel that contains a 3rd part Charting control (I am using flow charts and org charts which, I believe, RadChart doesn't yet do). If I do not use an AsyncPostBackTrigger, everything seems to work just fine. The chart control, along with all the other detail information loads correctly when the RadTreeView node is clicked and the OnClick event I defined in the codebehind file is run on the server. 

But, if I  add an AsyncPostBackTrigger, as described in this post:


I get this error:
Microsoft JScript runtime error: Object expected

and the area of code that is highlighted in the debugger is this bit:

<input type="hidden" name="__EVENTTARGET" id="__EVENTTARGET" value="" /> 
<input type="hidden" name="__EVENTARGUMENT" id="__EVENTARGUMENT" value="" /> 
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUKLTE0NTg2NDI1OA9kFgICAw9kFgICAw8UKwACFCsAAhQrAAIPFgIeF0VuYWJsZUFqYXhTa2luUmVuZGVyaW5naGQQFgFmFgEUKwACZGQPFgFmFgEFc1RlbGVyaWsuV2ViLlVJLlJhZFRyZWVOb2RlLCBUZWxlcmlrLldlYi5VSSwgVmVyc2lvbj0yMDA4LjIuODI2LjIwLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPTEyMWZhZTc4MTY1YmEzZDRkZGQYAQUeX19Db250cm9sc1JlcXVpcmVQb3N0QmFja0tleV9fFgEFDFJhZFRyZWVWaWV3MUnSvyNIwNtgpsSxyXE70wJc5PJd" /> 
 
 

The yellow highlighting, indicating the location of the error, starts between the first and second "d" in the word "hidden" in the second line of code, and it extends to halfway through the large encrypted value in the third line. 

If I remove the chart control from the page, then there is no error. If I remove this code:
            <Triggers> 
                <asp:AsyncPostBackTrigger ControlID="RadTreeView1" EventName="NodeClick" /> 
            </Triggers> 
 

...there is no error either.

Here is the definition of my RadTreeView control:
        <telerik:RadTreeView ID="RadTreeView1" runat="server" Height="600px" Width="400px"  
            OnClientNodePopulating="nodePopulating" LoadingStatusPosition="BelowNodeText" OnNodeClick="RadTreeView1_NodeClick" > 
            <WebServiceSettings Path="WebServiceProxy.asmx" Method="GetTreeViewNodes" /> 
            <CollapseAnimation Duration="100" Type="OutQuint" /> 
            <ExpandAnimation Duration="100" /> 
            <Nodes> 
                <telerik:RadTreeNode runat="server" Checkable="False" Text="MyRootNode" Value="0|0" ExpandMode="WebService"> 
                </telerik:RadTreeNode> 
            </Nodes> 
        </telerik:RadTreeView>  

I am not sure how to proceed in debugging this.

Does anyone have any suggestions as to what this might be?
Thanks 

PS: I get this error if I use telerik:RadAjaxManger or UpdatePanel. Both give the same results. UGH. How frustrating to come this far with this, and now be shut down. 
Roger
Top achievements
Rank 1
 answered on 22 Oct 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?