Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
110 views
Dears ,
i have a problem with Ajax rad control,

the grid works done but when navigate on any page on the application the error was occurred:

c.parentNode.removeChild(c);

c always return null???????????

Note : i use Telerik V2010.1.519.20

can anyone help me please?
<td valign="top">
<telerik:RadAjaxManager ID="radAjaxManager" runat="server">
<AjaxSettings>
<telerik:AjaxSetting>
 <UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="radAjaxPanel" LoadingPanelID="radAjaxLoadingPanel" />
  </UpdatedControls>
    </telerik:AjaxSetting>
     </AjaxSettings>
   </telerik:RadAjaxManager>
  <telerik:RadAjaxLoadingPanel ID="radAjaxLoadingPanel" runat="server">
    </telerik:RadAjaxLoadingPanel>
    <telerik:RadAjaxPanel ID="radAjaxPanel" runat="server" LoadingPanelID="radAjaxLoadingPanel">
  <telerik:RadGrid ID="gvMyTransactions" runat="server" Width="100%" OnColumnCreating="GridViewColumnCreating"
 OnItemCommand="GridViewItemCommand" OnItemCreated="GridViewItemCreated" OnPageIndexChanged="GridViewPageIndexChanged"
 OnNeedDataSource="GridViewNeedDataSource" OnSortCommand="GridViewSortCommand"
 OnItemDataBound="GridViewItemDataBound">
 <MasterTableView CellSpacing="0" CellPadding="0">
<Columns>
                        .....
Youri
Top achievements
Rank 1
 asked on 19 Oct 2011
4 answers
195 views
If you have a rad grid that has say 100 items which causes the page to scroll, if you try to drag an item from the bottom of the rad grid to another rad grid that is not visible (due to the scrolling) the page does not scroll.

I know that this is a browser issue rather than a radgrid issue, but does anyone have a good workaround?

thanks

james
Galin
Telerik team
 answered on 19 Oct 2011
2 answers
163 views
Hi,

For a RadAsyncUpload contol I set MaxFileInputsCount="1" and  MaxFileSize="4194304"  (4MB) .When I am trying to upload a file morethan 4MB then the upload indicator image turns red and on click of cancel upload control is missing. This is happening only in Firefox

Thanks in advance.
Genady Sergeev
Telerik team
 answered on 19 Oct 2011
2 answers
105 views

Hi,
I was able to compile the code and deploy in windows xp without any problem but when I compiled in Win 7 Enterprise and deployed on to IIS server it gave the server error saying it cannot load type 'Telerik.Web.UI.DialogHandler'.
can you please explain whether this error is due to Windows 7 introducing new http module tag <add name="RadCompression" type="Telerik.Web.UI.RadCompression"/>  in web.config or not?
 Please find the web.config error after deployment in production server , as of now I have rolled back all the \bin\compiled items. Please help me out. Do I have to copy the app. Telerik DLL in bin folder or register it in Global assembly cache (GAC) using GACUtil.exe in prod IIS server.

Server Error in '/' Application.

 

Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: Could not load type 'Telerik.Web.UI.DialogHandler'.

Source Error:

Line 110:   <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
Line 111:   <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/>
Line 112:      <add verb="*" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler"/>
Line 113:      <add verb="*" validate="false" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler, Telerik.Web.UI"/>
Line 114:      <add verb="*" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.Upload.RadUploadProgressHandler, Telerik.Web.UI" />

Source File: D:\inetpub\azcollectorsguide\web.config    Line: 112

 

Version Information: Microsoft .NET Framework Version:2.0.50727.3623; ASP.NET Version:2.0.50727.3618

Anu
Top achievements
Rank 1
 answered on 19 Oct 2011
5 answers
127 views
I am trying to store/retrieve a list of selected items in a file explorer control. I have been able to retrieve the checked nodes and store them without any difficulty but I am running in to a problem when I try to load the list of items back in the the explorer if they reside in nodes that have not been loaded.

Is it possible to trigger the FileExplorer control to pre-load/expand a node path from the server api?
Dobromir
Telerik team
 answered on 19 Oct 2011
2 answers
169 views
Hi guys.

I have a masked column with dataformatstring set to {0:##.###.###/####-##} and mask set to ##.###.###/####-##.The grid displays and edits the column as expected.
The problem is that I dont´t want to save the format characters to the database. I want to save the raw data 34889238000131 and not the formatted data 34.889.238/0001-31. 
What´s the best way to go in this case?

Thank you.

Zenute Marins
Top achievements
Rank 1
 answered on 19 Oct 2011
3 answers
117 views
Hello,

I have the following radGrid:

<telerik:RadGrid ID="radGrid"  OnItemDataBound="radGrid_ItemDataBound" OnItemCommand="radGrid_ItemCommand">
      <MasterTableView >
                            <Columns>
                                ...
                            </Columns>
                            <NestedViewTemplate>
                                <ParteControl:ParteControl id="ctl" visible="false" runat="server"/>
                            </NestedViewTemplate>
                        </MasterTableView>
                    </telerik:RadGrid>

When I expand the row it fills the Usercontrol:

protected void radGrid_ItemCommand(object sender, Telerik.Web.UI.GridCommandEventArgs e)
    {
        if (e.CommandName == Telerik.Web.UI.RadGrid.ExpandCollapseCommandName)
        {
            if (!e.Item.Expanded)
            {
                Label lblId = (Label)e.Item.OwnerTableView.Items[e.Item.ItemIndex]["Info"].FindControl("lblId");
                controls_partescontrol ctl = (controls_partescontrol)((Telerik.Web.UI.GridDataItem)e.Item).ChildItem.FindControl("ctl");
 
                String[] arrValues;
                String srtValues = lblId.Text.ToString();
                arrValues = srtValues.Split('#');
 
                ctl.Pre();
                ctl.Visible = true;
                ctl.Value = arrValues[0].ToString();
                ctl.Coluna = arrValues[1].ToString();
                ctl.Load();
            }
        }
    }

In the Usercontrol I have:

<telerik:RadContextMenu ID="ctxMenu" runat="server">
        <Targets>
            <telerik:ContextMenuControlTarget ControlID="ajaxPanel" />
        </Targets>
        <Items>
            <telerik:RadMenuItem>
                <ItemTemplate>
                    <asp:LinkButton ID="lnk_1" OnClientClick="javascript: callHoldInfo(this,'Parte');" OnCommand="Menu_ItemClick" CommandArgument="0" runat="server"  style="text-decoration: none !important;"></asp:LinkButton>
                </ItemTemplate>
            </telerik:RadMenuItem>
            <telerik:RadMenuItem>
                <ItemTemplate>
                    <asp:LinkButton ID="lnk_2" OnCommand="Menu_ItemClick" CommandArgument="1" runat="server"  style="text-decoration: none !important;"></asp:LinkButton>
                </ItemTemplate>
            </telerik:RadMenuItem>
        </Items>
    </telerik:RadContextMenu>
    <asp:Literal ID="ltrError" runat="server"/>           
    <asp:Panel runat="server" id="ajaxPanel">
    </asp:Panel>

and in the Code behind of the Usercontrol:

if (this.Page != null)
        {
            RadAjaxManager ajaxManager = RadAjaxManager.GetCurrent(this.Page);
            if (ajaxManager != null)
            {
                foreach (RadMenuItem item in ctxMenu.Items)
                {
                    foreach (Control ctrl in item.Controls)
                    {
                        if (ctrl is LinkButton)
                        {
                            AjaxSetting ajaxSetting = new AjaxSetting(ajaxManager.ID);
                            ajaxSetting.AjaxControlID = ctrl.ID.ToString();
                            ajaxSetting.UpdatedControls.Add(new AjaxUpdatedControl(ltrError.ID.ToString(), "ajaxLoad"));
                            ajaxSetting.UpdatedControls.Add(new AjaxUpdatedControl(ajaxPanel.ID.ToString(), "ajaxLoad"));
                            ajaxManager.AjaxSettings.Add(ajaxSetting);
                        }
                    }
                }
            }
        }


The first Click the pages Flickers as it could not bind the Ajax Settings. Then the Click it work normally.

I also tried to user the RadAjaxManagerProxy, but I could not make it work.

Could you please give me some advise on how to get it right...


Thank you very much,

Rod.




rod
Top achievements
Rank 1
 answered on 19 Oct 2011
0 answers
150 views
Hi all 

I have a page that have many RadPageView and  we select The page according to the  Request.QueryString["AppID"].ToString(); but in the URL it show the  /Demo.aspx?AppID=SchoolProject and when we applying the URL rewrite rule for that i need to  Like my URL as  Following /SchoolProject
 This is the following code
 Demo.aspx

  <telerik:RadPageView ID="RadPageView1" runat="server">.
</telerik:RadPageView>
  <telerik:RadPageView ID="RadPageView2" runat="server">
</telerik:RadPageView>
Demo.aspx.cs
 SelctedAppID = Request.QueryString["AppID"].ToString();
                    if (SelctedAppID == "SchoolProject")
                    {
                        RadTabStrip1.SelectedIndex = 1;
                        RadMultiPage1.SelectedIndex = 1;
                    }
URL is  /Demo.aspx?AppID=SchoolProject but i like /Demo.aspx/SchoolProject



Sushobhit
Top achievements
Rank 2
 asked on 19 Oct 2011
4 answers
91 views

hello

i am using new toolbar , but two of tools "paste from word" and "paste from word, strip font" don't work , when i click in a new window it shows java script error...


thanks

Neda
Neda
Top achievements
Rank 1
 answered on 19 Oct 2011
5 answers
280 views
Hi,

I am using RadWindow control. I have set it's navigate url property which opens a new web page inside the pop-up window.
Now I want that after some server side operation the window must be closed.

In the pop-up window opened there is a Button Control which performs some action on its Click, so as the action performed completes the pop-up window should close. How can this be done..?

Kindly suggest me some solution as soon as possible.

Thanks
Sudeep
Top achievements
Rank 1
 answered on 19 Oct 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?