Telerik Forums
UI for ASP.NET AJAX Forum
6 answers
639 views
Hi,

I have a Telerik control inside an ASP.NET UserControl. The UserControl is deployed to the Sharepoint 2010 site.

Currently I am receiving the error:- "Could not load file or assembly 'Telerik.Web.UI' or one of its dependencies. The system cannot find the file specified."

What I have done so far:
- I have added the Telerik.Web.UI.dll to the GAC.
- I have added it to the SafeControls list
- I have checked that all the Ajax required tags are present (as in http://www.telerik.com/help/aspnet-ajax/moss-install-aspnet-ajax.html)

Is there something else I am missing??

Note* I am aware that there are separate products for Sharepoint but I want to use my exisiting Telerik controls.

Thank you,

KS
Stanimir
Telerik team
 answered on 13 Oct 2011
1 answer
199 views
Hi,

I have created ConfirmTemplate in Radwindowmanager.

I am using {1} in template to set the text runtime .

How can I do same to set the title runtime .

Regards,
Suraj .
Marin Bratanov
Telerik team
 answered on 13 Oct 2011
7 answers
226 views
Hi all,
which control do you use for the Country Map on http://demos.telerik.com/aspnet-ajax/salesdashboard/default.aspx ?
Thanks!
Vasil
Telerik team
 answered on 13 Oct 2011
1 answer
167 views
Hi,

i have a radgrid with autogeneratedcolumns option as true. i disabled the viewstate for grid.  whenever a column reorder happens, i have to move some more columns.i am trying to move the extra columns through server side implementation. i am doing this in Prerender event of radgrid. The drag and drop column is moving to dropped position. However i am unable to move the extra columns. please help me out regarding this. i am trying for this for whole day but in vain :(

i made the following settings for my grid
EnableColumnsViewState="true"
AllowColumnsReorder="True",  ReorderColumnsOnClient="false"

grid PreRender code for moving the extra columns
protected void grdSummary_PreRender(object sender, EventArgs e)
{
//Holds the Unique names of columns to be moved
string[] extraColumns =new string(commasepratedColumnNames)
//column that was dragged and dropped
GridColumn mainColumnObject = grdSummary.MasterTableView.GetColumn("34");
                        index = mainColumnObject.OrderIndex;
                        foreach (string columnUniqueName in extraColumns)
                        {                            

                            grdSummary.MasterTableView.SwapColumns(columnUniqueName, mainColumnObject.UniqueName);                            
                        }
                        grdSummary.MasterTableView.Rebind();
}

Thanks,
Chaitanya
Tsvetoslav
Telerik team
 answered on 13 Oct 2011
1 answer
88 views
Hi Telerik Team,


         The problem is i have 7748 records and am using scrolling along with paging with size 100 .After am redirecting to next page using paging the scroll is not coming to the start position and it is residing in the end position for new paging.

Regards,
Sravan
Synfosys Business Solutions
Princy
Top achievements
Rank 2
 answered on 13 Oct 2011
1 answer
93 views
Hi,
Teleric Radgrid supports reordering grid columns on client side. I have a requirement like if i move a column from position m to n, then columns in m+1, m+2 should move to n+1 and n+2 positions automatically(through code).

can you please help me out how can we achieve this using the javascript methods provided.

I came to know that ColumnMovingToLeft and ColumnMovingToRight property javascript methods are invoked when we reorder a column.

Thanks in advance
Chaithanya Bhadri
Marin
Telerik team
 answered on 13 Oct 2011
1 answer
103 views
is possible that when you add a dynamically Radok not have to re-create existing ones, the postback does not affect existing
Slav
Telerik team
 answered on 13 Oct 2011
1 answer
222 views
Hi Guys,
       I am loading 800000 records in the radgrid with custom paging, it's throwing timeout error, How can i work Radgrid with large number(800000) of records, this is my requirement. but i can able to bind 200000 records in radgrid without any timeout or performance issue, so can anyone knows please suggest me  

These are the following steps i have tried in my code: (Kindly note this, this radgrid i am using with in sharepoint 2007 as well as 2010)
1. i am using custom paging and set the virtual item count is 800000 and set the pagesize is 50
2. i am storing 800000 records in viewstate, not binding all 800000 records in radgrid, i am binding just 50 records at the time of loading the radgrid
3. if i change the paging in the radgrid, based on the page index i am getting 50 records from viewstate and bind it in the radgrid (for ex: current pageindex is 5 means i took 201 to 250)
4. telerik support team tell, don't use the viewstate, so i am storing all 800000 records in property bag even though it's throwing time out error
          which is the best way to store all 800000 records and bind 50 records in RadGrid without performance issue, please tell me what i need to do?
Tsvetoslav
Telerik team
 answered on 13 Oct 2011
1 answer
87 views
Hello,

I'm having a problem with ClientEvents on a RadGrid being applied to all child grids contained within the parent grid.  I have a grid configured like this:

<telerik:RadGrid ID="myGrid" runat="server"
    AllowSorting="true" AutoGenerateColumns="false"
    AllowPaging="true" PageSize="50" Height="500">
     
    <MasterTableView>
        <Columns>
            <telerik:GridBoundColumn Visible="false" DataField="Id" UniqueName="Id" />
            <telerik:GridBoundColumn DataField="FirstName" HeaderText="First Name" UniqueName="FirstName" />
            <telerik:GridBoundColumn DataField="LastName" HeaderText="Last Name" UniqueName="Last Name" />
        </Columns>
        <EditFormSettings EditFormType="WebUserControl" UserControlName="~/EditForm.ascx" />
 
         
    </MasterTableView>
     
     <ClientSettings EnableRowHoverStyle="true">
        <Scrolling UseStaticHeaders="True" AllowScroll="True" />
        <ClientEvents OnRowDblClick="editRow" />
    </ClientSettings>
</telerik:RadGrid>

The editRow function is as follows:

function editRow(sender, eventArgs) {
    sender.get_masterTableView().editItem(eventArgs.get_itemIndexHierarchical());
}

The grid functions beautifully and the edit form loads and submits successfully.  However, there is a secondary grid in the edit form (EditForm.ascx) which seems to be inheriting the ClientSettings from the parent grid, such that if you double click one of the rows inside the user control then editRow fires and the item being edited is changed (because get_itemIndexHierarchical returns the index of the item double clicked inside EditForm.ascx).

I've looked at the events and documentation, but do not see a way to clear the client settings on the child grids.  I can probably work around it by using a button for editing instead of the double click event, but the client specifically requested the double click.  Does anyone have an idea on how I can clear the client settings on the grid within the EditForm.ascx user control?  I really want to get rid of both the event handler and the hover style from the grids within EditForm.ascx.

Thanks in advance for any help!
Tsvetoslav
Telerik team
 answered on 13 Oct 2011
1 answer
157 views
Hello Support

I have an serious issue related to RadAjaxLoadingPanel which changes the URL in the address bar
On my page I have an RadAjaxLoadingPanel

<telerik:RadAjaxLoadingPanel ID="LoadingPanel1" Height="200px" Width="200px" runat="server"  Transparency="30">
       <table width="100%">
           <tr>
               <td width="100%" align="center" valign="top">
                   <img alt="Loading..." src='<%= RadAjaxLoadingPanel.GetWebResourceUrl(Page, "Telerik.Web.UI.Skins.Default.Ajax.loading.gif") %>'
                       style="border: 0px;" />
               </td>
           </tr>
       </table>
       </telerik:RadAjaxLoadingPanel>

When the code is executed, on this line the URL of my page changes to something like
http://localhost:50049/Web_App/
 
http://localhost:50049/Web_App/http://localhost:50049/Web_App/

http://localhost:50049/Web_App/(S(mq4cwf55cmht42ypwio5dhzu))/Login.aspx?ReturnUrl=%2fWeb_App%2fdefault.aspx
/Login.aspx?ReturnUrl=%2fWeb_App%2fdefault.aspx

Because of the second changed URL my none images are not loaded. It shows me cross mark(image not found error). The unkown directory name is not found my the application. (S(mq4cwf55cmht42ypwio5dhzu))
How to stop the url rewriting the zunk values from current scenario?

The zunk value is an sessionid is added in url by default how to prevent this?

Thanks
Vasil
Telerik team
 answered on 13 Oct 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?