Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
131 views
When i use the radconfirm box under a certain situation i get this error:

Microsoft JScript runtime error: 'this._windows.length' is null or not an object

var wnd=this.clone(_37,_38); 
this._windows[this._windows.length]=wnd;           //error occurs here 
wnd.set_windowManager(this); 

Here is my set up:

I have a button that when clicked makes visible a div (using the style attribute) which contains a radgrid which is populated. When a row of the grid is right-clicked on and the edit RadMenuItem is selected the information in the page is populated with the row info and the div with the RadGrid hidden again. Now when I click the save button on my page i call a javascript method which uses the radconfirm which causes the above error. I use ajax on the page.


If i just click the save button for when the page is loaded without going to the grid everything works fine. What is the problem here? 
Georgi Tunev
Telerik team
 answered on 21 Jul 2009
1 answer
189 views
How to arise an alert within RadAjaxManager1 ... it works outside the ajax but won't inside.

Page.ClientScript.RegisterClientScriptBlock(Me.GetType(), "Popup", "<script>alert('hello world');</script>") 

Princy
Top achievements
Rank 2
 answered on 21 Jul 2009
2 answers
218 views
Hello,
    I am using   Rad AjaxManager and ajaxtoolkit both in my project.

 

    this is the code for radAjaxmanager

 

 <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">  
                        <AjaxSettings> 
                            <telerik:AjaxSetting AjaxControlID="txtCompanyname">  
                                <UpdatedControls> 
                                    <telerik:AjaxUpdatedControl ControlID="txtStorefrontURL" LoadingPanelID="LoadingPanel1" /> 
                                    <telerik:AjaxUpdatedControl ControlID="lblchkStoreExist" /> 
                                </UpdatedControls> 
                            </telerik:AjaxSetting> 
                            <telerik:AjaxSetting AjaxControlID="txtStorefrontURL">  
                                <UpdatedControls> 
                                    <telerik:AjaxUpdatedControl ControlID="lblStoreExist" /> 
                                    <telerik:AjaxUpdatedControl ControlID="txtStorefrontURL" LoadingPanelID="LoadingPanel1" /> 
                                </UpdatedControls> 
                            </telerik:AjaxSetting> 
                        </AjaxSettings> 
                    </telerik:RadAjaxManager> 
                    <telerik:RadAjaxLoadingPanel ID="LoadingPanel1" runat="server">  
                        <img src='<%= RadAjaxLoadingPanel.GetWebResourceUrl(Page, "Telerik.Web.UI.Skins.Default.Ajax.loading2.gif") %>' 
                            alt="Loading..." style="border: 0;" /> 
                    </telerik:RadAjaxLoadingPanel> 

I had put the radScriptmanager at the top of of all teh controls

<telerik:RadScriptManager ID="RadScriptManager1" runat="server">  
    </telerik:RadScriptManager> 

But I am gettingjavascript error "Sys undefined".
May i know i may be missing.

Thanks
Parvati

parvati
Top achievements
Rank 1
 answered on 21 Jul 2009
1 answer
88 views
I am populating grid from the dataset.(server side data binding). One of the columns is  Grid DropDown Column .
This column only displays the first value as opposed to the whole list.
It will be nice to see a sample of a simple grid with Grid DropDown Column,populated from a dataset. 

Elena 
Princy
Top achievements
Rank 2
 answered on 21 Jul 2009
1 answer
87 views
Is it possible to have 2 user Edit control form called from a rad grid

I have a grid control that will have "edit link" and "Abc Link" at the end
I also created 2 web user controls: Contor 1 for the edit link and the Control 2 for the ABC link.
Is there a way to call control one when click on Edit link and to open control 2 when clicking on ABC link

I know how to do it if i only have the Edit link but i need a way to be able o have multiple user control called from a radgrid

Thanks in Advance

Tony
Princy
Top achievements
Rank 2
 answered on 21 Jul 2009
1 answer
121 views
The grid dropdown column does not expand to select an item in edit mode. Are there any properties that are to be set to enable the dropdown.

Thanks,
Divya
Shinu
Top achievements
Rank 2
 answered on 21 Jul 2009
1 answer
63 views
Hi,

I'm using the Web20 skin throughout my project and wanted the visual look of RadComboBoxes and Select dropdowns styled with the RadFormDecorator to be visually identical.

I tried creating a custom skin for the FormDecorator and switching the image with the one from the RadComboBox, but the image didn't line up properly.

Is there an easier way to get the visual appearances identical than manually figuring out and recalculating the background offsets?

Thanks.
Martin
Telerik team
 answered on 21 Jul 2009
1 answer
128 views

Hello,

I have a Filter button inside the <CommandItemTemplate>.

 

 <asp:Button ID="btnFilterCommand" CommandName="Filter" Style="font-size: xx-small"

 runat="server" Text="Filter" />

  

I have preset the filtering like this:

 

<telerik:GridBoundColumn MaxLength="40" DataField="Description" HeaderText="Description"

 CurrentFilterFunction="StartsWith" AutoPostBackOnFilter="false" FilterControlWidth="200px"

 SortExpression="Description" UniqueName="Description">

 </telerik:GridBoundColumn>

  

I want the user to be able to enter the filter text and filter type for each column and initiate filtering only on the Filter button click (not when selecting a filter type).

Could someone point me to an example of this or give me some guidance?

Thanks,

Ken

Shinu
Top achievements
Rank 2
 answered on 21 Jul 2009
1 answer
258 views
Hi,
How can I set a row as selected by the datakey value from the code side?
If this is possible, should I also concern about paging?
Thanks.
Shinu
Top achievements
Rank 2
 answered on 21 Jul 2009
1 answer
111 views
I want to caculate the sum of a column and display it on the footer.
Would you please give me a demo?
Thanks very much!
Princy
Top achievements
Rank 2
 answered on 21 Jul 2009
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?