Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
153 views
Error on Page Load - 'Telerik' Undefined

I've searched for this error throughout the Forums and found several references to this error concerning Vista and IIS 7.0, however, I'm receiving this error on page load in IE 6 SP1 only. It works well on IE 7 and Firefox.

I have a RadAjax Panel, Loading Panel, 1 Textbox, 2 combo boxes and 1 Gridview.

Any help would be greatly appreciated.
Pavel
Telerik team
 answered on 07 Aug 2008
1 answer
120 views
Can any one help me please???

I have just purchased RadControls and am really struggling to get the RadGrid control to work like i need.

I have one datatable in SQL where i build me hierarchy up from with simple parent/child fields. Before getting this software i originally used the standard treeview control which come with VS but my tree is getting that big the page is just way too big so i thought the grid view would be a better way of dealing with this. I also need to know how to access the cell value so i can use it in my query.

Any help would be great

Cheers

G
Shinu
Top achievements
Rank 2
 answered on 07 Aug 2008
3 answers
179 views
I have a combobox in the edititemtemplate of two of my grid cloumns.
The comboboxes are realted combo boxes that is the value of the first combo determines the list in the second combo.

when I select something in my first combo , the second combo takes very long to load.

Is there something I can do to improve the performance.
I am using loadondemand for the combos.

The rest of my columns have a textbox in the edititemtemplate. I tried replacing them with the gridnumericcolumn but that makes no difference to the performance of the combo boxes.

please give any suggestions.
Sebastian
Telerik team
 answered on 07 Aug 2008
2 answers
133 views
Hi,
     I have a Usercontrol which is being loaded in an aspx page.The usercontrol has a button which has been ajaxified in the aspx itself.When the user clicks the button i have to do a JS validation and depending upon whether the validation is true or false the server side click event of the button should be fired.But currently only the JS gets fired and even if the JS method returns true the server side click event of the button is not getting called.
I am using the Q1 2008 version of radAjax i.e. Telerik controls for asp.net ajax. Can anyone provide a solution for this.


Thanks,
Avik.
Sebastian
Telerik team
 answered on 07 Aug 2008
4 answers
357 views
Hi!

I have a RadGrid with client side selecting (ClientSettings.Selecting.AllowRowSelect=true).

I use a Skin (Default) to control the visual appearance of the grid.
For each item in the grid I set the CssClass (corresponding to a row definition in the skin) on server side to get the right appearance (depending on the status of the content, not the GridItemType).

I select some items on client side. It looks good and the "SelectedRow_Default" class will be applied to the selected items on client side. But as soon as I make a postback I will lose the visual appearance of the selected items. The CssClass defined on the server side will be used even if the items are still selected.

If I don't set the CssClass for items on server side then the "selected appearance" will be maintained even after postback.

My question is:
Is it possible to "apply" the "SelectedRow_Default" for all selected items on client side after postback to make sure that they look selected? Or is there an other solution to my problem?

Thanks
/Mats
Mats
Top achievements
Rank 1
 answered on 07 Aug 2008
3 answers
100 views

Hello,
I am using a Paging control made as a composite control with  2 aspnet buttons+textbox+2 aspnet buttons + labels, they all have a fixed width.Their size and position are totally broken by decorator: width get bigger and they spersedd each other.
My very light code :

        //Construct controls  
        protected override void  CreateChildControls()  
        {  
            Controls.Clear();  
 
    btnFirst                    =   new Button();  
            btnFirst.ID                 =   "Pager_BtnFirst";  
            btnFirst.Width              =   new Unit("25px");  
            btnFirst.Font.Bold          =   true;  
            btnFirst.Text               =   " |< ";  
            btnFirst.CommandArgument    =   "first";  
            btnFirst.EnableViewState    =   false;  
            Controls.Add(btnFirst);  
 
            btnPrev                     =   new Button();  
            btnPrev.ID                  =   "Pager_BtnPrev";  
            btnPrev.Width               =   new Unit("25px");  
            btnPrev.Font.Bold           =   true;  
            btnPrev.Text                =   " < ";  
            btnPrev.CommandArgument     =   "prev";  
            btnPrev.EnableViewState     =   false;  
            Controls.Add(btnPrev);  
 
            Controls.Add(new LiteralControl("&#160;"));  
            if (useRad)  
            {  
                RadNumericTextBox tbPage    = new RadNumericTextBox();  
                tbPage.ShowSpinButtons      = true;  
                tbPage.MinValue             = 0;  
                tbPage.Type                 = NumericType.Number;  
                tbPage.AutoPostBack         = true;  
                tbPage.NumberFormat.DecimalDigits = 0;  
                tbPagetbPageNumber                = tbPage;  
            }  
            else  
            {  
                TextBox tbPage              = new TextBox();  
                tbPage.AutoPostBack         = true;  
                tbPagetbPageNumber                = tbPage;  
            }  
            tbPageNumber.ID                 =   "Pager_PageNbr";  
 
            tbPageNumber.Width              =   new Unit("30px");  
            tbPageNumber.EnableViewState    =   true;  
            Controls.Add(tbPageNumber);  
 
            Controls.Add(new LiteralControl("&#160;"));  
 
            btnNext                         =   new Button();  
            btnNext.ID                      =   "Pager_BtnNext";  
            btnNext.Width                   =   new Unit("25px");  
            btnNext.Font.Bold               =   true;  
            btnNext.Text                    =   " > ";  
            btnNext.CommandArgument         =   "next";  
            btnNext.EnableViewState         =   false;  
            Controls.Add(btnNext);  
 
            btnLast                         =   new Button();  
            btnLast.ID                      =   "Pager_BtnLast";  
            btnLast.Width                   =   new Unit("25px");  
            btnLast.Font.Bold               =   true;  
            btnLast.Text                    =   " >| ";  
            btnLast.CommandArgument         =   "last";  
            btnLast.EnableViewState         =   false;  
            Controls.Add(btnLast);  
 
            lblof                           =   new Label();  
            lblof.ID                        =   "Pager_lblof";  
            lblof.EnableViewState           =   false;  
            lblof.Text                      =   "&#160;/&#160;";  
            Controls.Add(lblof);  
 
            lblPageCount                    =   new Label();  
            lblPageCount.ID                 =   "Pager_lbPgCnt";  
            lblPageCount.EnableViewState    =   false;  
            Controls.Add(lblPageCount);  
              
            if (ViewState["PageNumber"] == null)  
                PageNumber = 1;  
        }  
 

Thanks for help.
CS
Georgi Tunev
Telerik team
 answered on 07 Aug 2008
1 answer
136 views
I'm having problems with the export settings as they don't work properly (for instance, when the IgnorePaging property is set to True, it shows me only the first page)

I have this code:

private void ConfigureExport() 
    { 
        radGridradGrid.PageSize = radGrid.MasterTableView.VirtualItemCount; 
        radGrid.ExportSettings.ExportOnlyData = false
        radGrid.ExportSettings.IgnorePaging = true
        radGrid.ExportSettings.OpenInNewWindow = true
        radGrid.ExportSettings.FileName = "Report"
        //radGrid.Rebind(); 
    } 
 
    protected void ExportToExcel(object sender, System.EventArgs e) 
    { 
        if (radGrid.Items.Count > 0) 
        { 
            ConfigureExport(); 
            radGrid.MasterTableView.ExportToExcel(); 
        } 
    } 


I could use any help. Thanks.
Rosen
Telerik team
 answered on 07 Aug 2008
2 answers
167 views
Hey, After upgrading to .NET 3.5 I am getting this error:

Could not load file or assembly 'Telerik.Web.UI, Version=2008.1.515.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040


I am getting this error when Loading a page with a RadEditor. I am using Telerik ASp.NET Ajax Q1 2008 package.

I have install it successfully.

Am I missing something in Web.Config?

thanks
Joseph
Top achievements
Rank 1
 answered on 07 Aug 2008
6 answers
259 views
Hi
I have a scenario where I have to upload more than a file.
I want use radUpload in combination with progressbar.

I set dynamically the number of files that going to upload.

Let's assume I have upload 10 files, I need create a thumbnail when each file is phisical upload on the server.
It is this possible ? Please help

cheers
M.


Veselin Vasilev
Telerik team
 answered on 07 Aug 2008
2 answers
103 views
Good day,

I'm using version 2008.1.619.35 of the Asp.NET Ajax grid.  I would like to be able to apply a different theme to my child grid within my master grid.  I'm currently using the Sunset theme within my master grid.

Thanks.
Shinu
Top achievements
Rank 2
 answered on 07 Aug 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?