Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
66 views
Dear Team ,
I have two issues:

1.I got this type of errro.when i click continue  any edit button in grid or add new button in grid
Microsoft JScript runtime error: Sys.InvalidOperationException: ScriptLoader.loadScripts cannot be called while the ScriptLoader is already loading scripts.
how can  i avoid this problems ..this major problems in my project..our client ask questions.

2. when i click addnew or edit button in grid takes time to open in entry field ..how can  i avoid this problems..it is verry slow ..give good solution for past access for grid fields.

need quick past,

With Regards,
S.Kannadasan


Maria Ilieva
Telerik team
 answered on 29 Nov 2010
2 answers
110 views
Hi All

This is driving me "Nuts"

I have an Image link in a Template Column in a RadGrid,
The image has got a blue line around it, I have read that this can be solved by setting the BorderPrimitive to = Collapse,
Can someone PLEASE tell me where / How to set this !!!

Many Thanks

Regards

Darren
Cush
Top achievements
Rank 1
 answered on 29 Nov 2010
5 answers
141 views
Hi,

Sorry for my basic question.

I am replacing Asp.net ListView with telerik grid. In my list view, i am using InsertItem template to insert records into database. To achieve same thing in rad grid, am using EditFormSettings, FormTemplate and CommandItem properties of gird. But nothing is displaying when am clicking add new record button. (am expecting controls to display which are defined in FormTemplate.

Could you please help on this regard.

Any sample would be highly appreciated.

Thanks,
Sumanth
Sumanth
Top achievements
Rank 1
 answered on 29 Nov 2010
1 answer
127 views

After i select a file for upload, then hit a submit button (standard <asp:Imagebutton) - I get an error:

Cannot find a part of the path

and a querystring of RadUrid= has been added

Here is the aspx code:

<telerik:RadProgressManager runat="server" ID="RadProgressManager1" EnableMemoryOptimization="false" />
                        <telerik:RadAsyncUpload runat="server" ID="AsyncUp1" 
                            OnClientFileUploaded="fileUploaded" TargetFolder="/images/BlogThumbs" AllowedFileExtensions=".jpg,.tif,.png,.gif,.jpeg" />
                          
                        <telerik:RadProgressArea runat="server" ID="RadProgressArea1" />

and the fileUploaded script:

function fileUploaded(sender, args)
        {
        var name = args.get_fileName();
        var $ = $telerik.$;
              
        $(".info-panel").
        append($("<div>" + name + "</div>")).show();
        }

It was working - and i just upgraded to the newest 2010 version.

Any ideas?

Simon
Telerik team
 answered on 29 Nov 2010
1 answer
123 views
I am new to this stuff so I may be the issue.  I have a master page and content page.  On the master page I have a combobox.
<telerik:RadComboBox ID="cbBox" runat="server" AutoPostBack="True" 
                         Height="120px" 
                        ErrorMessage="No Items Available" Sort="Ascending">
 </telerik:RadComboBox>

 

 Fill by code behind(c#):

 

using (WorkFlowEntities items = new WorkFlowEntities())
 {
   {
     this.cbBox.DataSource = from c in items.vw_UserAuth
where c.DomainName== "me"                                                         select new { c.Name, c.Item };
 this.cbProject.DataTextField = "Name";
 this.cbProject.DataValueField = "Item";
 this.cbProject.DataBind();
 this.cbProject.Items.Insert(0, new RadComboBoxItem("Select a item", string.Empty));
 }
}

 All of this works fine.  I am trying to access the combobox from a content page but it always returns "" not null though.  I am using this code to get the values:
 

 

private string getSelectedProject()
       {
           RadComboBox masterCombo = (RadComboBox)Master.FindControl("cbBox");
           if (masterCombo != null)
           {
               return masterCombo.SelectedValue.ToString();
           }
           else
           {
               return null;
           }
       }

I know there is data being return because i tried hard coding the selected value.

 

 

 

Princy
Top achievements
Rank 2
 answered on 29 Nov 2010
1 answer
122 views
Hi,

Is there any way to handle rad grid Row selection event in server side without using grid button column.

Regards
Jidesh
Jidesh Guptha
Top achievements
Rank 1
 answered on 29 Nov 2010
1 answer
83 views
i have a radgrid contains gridtemplatecolumns need to be sorted. i know that i sort by sort expression and it works well.
but what if i had a gridtemplatecolumn which is custom. For example if i had Three columns :  Number1 ,  Number2 ,  SUM
Column SUM i set it's value by adding the values of Number1 and Number2.how can i sort Column SUM ???
Pavlina
Telerik team
 answered on 29 Nov 2010
3 answers
581 views
Hi!

I have the same problem:
My asp:ImageButton is inside a telerik:RadAjaxManager and do the same code:

HttpContext.Current.Response.ClearContent();
HttpContext.Current.Response.ClearHeaders();
HttpContext.Current.Response.AddHeader( "content-disposition", string.Format( "attachment; filename={0}", "ElencoCandidati.xls" ) );
HttpContext.Current.Response.ContentType = "application/ms-excel; charset=utf-8";
HttpContext.Current.Response.Write( wResult );
HttpContext.Current.Response.End();
HttpContext.Current.Response.Flush();

Without the telerik:RadAjaxManager work fine but when i run my website with a telerik:RadAjaxManager I have the same error:

Line: 938
Error: Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed. Common causes for this error are when the response is modified by calls to Response.Write(), response filters, HttpModules, or server trace is enabled.
Details: Error parsing near '<html xmlns:o="urn:s'.


What can I do?


Thanks in advance!


Francesco
Lorenzo
Top achievements
Rank 1
 answered on 29 Nov 2010
1 answer
48 views
Hi,

We evaluated the ASP.NET controls for our project and found them helpful.


We wanted to know whether RadUpload works on SSL.

Yana
Telerik team
 answered on 29 Nov 2010
5 answers
234 views

Hi, I am getting a double filtering effect happening. Once on the server side and then one more time on the client side. This double filtering wouldn't be an issue except for one of my columns (Description) is 2000 characters long so I only pass back the first 200 characters. If the data I filtered on is after the first 200 characters then the client side filter removes the row.
 
I do server side filtering by using the datasource selecting event:

protected void objItems_Selecting(object sender, ObjectDataSourceSelectingEventArgs e)
{
    e.InputParameters["sortExpression"] = RadGrid1.MasterTableView.SortExpressions.GetSortString();
    e.InputParameters["filterExpression"] = RadGrid1.MasterTableView.FilterExpression;
    if (e.ExecutingSelectCount)
    {
        // count is done last
        //RadGrid1.MasterTableView.FilterExpression = "";
        // while using the above line worked it failed when going from page to page
    }
    else
    {
        // selection is done first
    }
}

 

 

public IList get(int catalogueId, string sortExpression, string filterExpression, int maximumRows, int startRowIndex)

 

{
...

}

Tsvetina
Telerik team
 answered on 29 Nov 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?