Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
48 views
In

http://demos.telerik.com/aspnet-ajax/tabstrip/examples/serverside/serverevents/defaultvb.aspx

It says

Protected Sub RadTabStrip1_TabClick(ByVal sender As Object, ByVal e As UI.RadTabStripEventArgs)

Instead of

Protected Sub RadTabStrip1_TabClick(ByVal sender As Object, ByVal e As RadTabStripEventArgs)

Marc
Kate
Telerik team
 answered on 25 Nov 2011
3 answers
426 views
Hi guys,

We have recently upgraded to the latest rad controls as well as .net 4.

Most things are working fine however there appears to be an issue with the upload module. Upon click of the button I am returned the error:

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.RadUploadHttpModule'. (C:\inetpub\wwwroot\..............\web.config line 80)

I have tried making various changes to the web.config but can't seem to get anything to resolve the issue. 

Below are the system.web and system.webserver sections from the web.config file. If you could point out where we are going wrong it would be greatly appreciated.

Thanks.

  <system.web>
    <compilation debug="true" targetFramework="4.0" />
 
    <authentication mode="Forms">
      <forms name=".ASPXAUTH" timeout="60" />
    </authentication>
 
    <authorization>
      <allow users="*" />
    </authorization>
 
    <httpModules>
      <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule" />
      <add name="ScriptModule" type="System.Web.Handlers.ScriptModule,System.Web.Extensions, Version=1.0.61025.0, Culture=neutral,PublicKeyToken=31bf3856ad364e35" />
    </httpModules>
    <httpHandlers>
      <add verb="POST,GET" path="csharpwrapper/*.ashx" type="Ajax.PageHandlerFactory, Ajax" />
      <add verb="*" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler, Telerik.Web.UI" />
      <remove verb="*" path="*.asmx" />
      <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
      <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" />
      <add verb="GET,HEAD" path="ScriptResource.axd" validate="false" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
      <add path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" validate="false" />
      <add path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" validate="false" />
      <add path="ChartImage.axd" verb="*" type="Telerik.Web.UI.ChartHttpHandler, Telerik.Web.UI, Version=2011.2.1018.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" validate="false" />
      <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" />
    </httpHandlers>
 
    <httpRuntime executionTimeout="240000" maxRequestLength="102400" requestValidationMode="2.0" />   
    <globalization requestEncoding="utf-8" responseEncoding="utf-8" />
  </system.web>
 
   
  <system.webServer>
 
    <modules runAllManagedModulesForAllRequests="true">
      <remove name="ScriptModule" />
      <add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
    </modules>
    <handlers>
      <remove name="dot open" />
      <remove name="Telerik_Web_UI_DialogHandler_aspx" />
      <remove name="Telerik_Web_UI_SpellCheckHandler_axd" />
      <remove name="WebServiceHandlerFactory-Integrated" />
      <remove name="ScriptHandlerFactory" />
      <remove name="ScriptHandlerFactoryAppServices" />
      <remove name="ScriptResource" />
      <remove name="Telerik_Web_UI_WebResource_axd" />
      <add name="dot open" path="*.open" verb="*" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" resourceType="Unspecified" preCondition="classicMode,runtimeVersionv4.0,bitness32" />
      <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
      <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
      <add name="ScriptResource" verb="GET,HEAD" path="ScriptResource.axd" preCondition="integratedMode" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
      <add name="Telerik_Web_UI_DialogHandler_aspx" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" />
      <add name="Telerik_Web_UI_SpellCheckHandler_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" />
      <add name="Telerik_Web_UI_WebResource_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" />
    </handlers>
     <security>
        <requestFiltering>
            <requestLimits maxAllowedContentLength="100000000" />
        </requestFiltering>
     </security>     
  </system.webServer>
</configuration>

Dimitar Terziev
Telerik team
 answered on 25 Nov 2011
5 answers
121 views

I have a AsyncUpload and RadProgressArea on a page that is loaded into a RadWindow all works fine until I call

GetRadWindow().autoSize(true);
and then the upload stops/freezes.

In fact if I try to resize the window in anyway using javascript it stops the upload.

What I'm trying to achieve is that when the window is first opened it's height is set big enough to show the AsyncUpload control say 100px. Then when a user selects a file to upload and RadProgressArea is shown then call autosize so that the window grows to show it and then when upload finishes and the RadProgressArea disapears then set the window height back to 100px.

Is there a way around this.
Peter Filipov
Telerik team
 answered on 25 Nov 2011
5 answers
149 views
Hi,

I tried to paste the following text which has some shared path in it in my RadEditor control, i am getting the blank message box. My teleik verison is "2010.1.519.35" . I have attached my sample code here and a screen shot.
"\\test\test\test\Reference"


<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<telerik:RadEditor runat="server" ID="radeditorSendEmail" LocalizationPath="~/App_GlobalResources/">
                        <Tools>
                        <telerik:EditorToolGroup>
                                <telerik:EditorTool Name="InsertParagraph" />
                                <telerik:EditorTool Name="FormatBlock"/>
                                <telerik:EditorTool Name="Indent" />
                                <telerik:EditorTool Name="Outdent" />
                                <telerik:EditorTool Name="JustifyLeft" />
                                <telerik:EditorTool Name="JustifyCenter" />
                                <telerik:EditorTool Name="JustifyRight" />
                                <telerik:EditorTool Name="JustifyFull" />
                                <telerik:EditorTool Name="JustifyNone" />
                                <telerik:EditorTool Name="InsertUnorderedList" />
                                <telerik:EditorTool Name="InsertOrderedList" />
                                <telerik:EditorTool Name="InsertHorizontalRule" />
                                <telerik:EditorSeparator />
                                <telerik:EditorTool Name="InsertTable" />
                                <telerik:EditorTool Name="InsertSymbol" />
                                </telerik:EditorToolGroup>
                            <telerik:EditorToolGroup>
                                <telerik:EditorTool  Name="ConvertToUpper" />
                                <telerik:EditorTool Name="ConvertToLower" />
                                <telerik:EditorTool Name="Cut" ShortCut="CTRL+X"/>
                                <telerik:EditorTool Name="Copy" ShortCut="CTRL+C"/>
                                <telerik:EditorTool Name="Paste" ShortCut="CTRL+V"/>
                                <telerik:EditorTool Name="Undo" ShortCut="CTRL+Z"/>
                                <telerik:EditorTool Name="Redo" ShortCut="CTRL+Y"/>
                                <telerik:EditorSeparator />
                                <telerik:EditorTool Name="Bold" ShortCut="CTRL+B"/>
                                <telerik:EditorTool Name="Italic" ShortCut="CTRL+I"/>
                                <telerik:EditorTool Name="Underline" ShortCut="CTRL+U"/>
                                <telerik:EditorTool Name="StrikeThrough" />
                                <telerik:EditorTool Name="Superscript" />
                                <telerik:EditorTool Name="Subscript" />
                                <telerik:EditorTool Name="FontName"/>
                                <telerik:EditorTool Name="FontSize"/>
                                <telerik:EditorTool Name="ForeColor"/>
                                <telerik:EditorTool Name="BackColor"/>
                            </telerik:EditorToolGroup>
                        </Tools>
                    </telerik:RadEditor>

Rumen
Telerik team
 answered on 25 Nov 2011
3 answers
91 views
HI !!! explain my problem...
I've one page with many Grid nasted like this example:
example
I'm searching a way to change the style of inner Grid only.
I've a global skin-them applicated to all my application; i try to overwrite RadGrid css class but,obviously, it change style to all Grid of the page.
Please help me, thanks !!!
 
Emanuele
Top achievements
Rank 1
 answered on 25 Nov 2011
6 answers
166 views
Hello, I have a problem with the style of radcombobox when located within a radsplitter.

I attached a picture to understand me.

Thanks for all.
Dobromir
Telerik team
 answered on 25 Nov 2011
1 answer
42 views
Hello,

    I have a RadGrid in my application. Whenever I click Clear Changes which is not associated with radGrid and if a row in the RadGrid is in inplace edit mode, the values should not be effected  i.e, the values should remain same. Find below for the code.

protected void btnClearChanges_Click(object sender, EventArgs e)
        {

            _presenter.LoadDefaultValues();
            
            rgvInternetIdentifiers.Rebind();

            btnContinue.Enabled = true;
           
        }

The above code is loading default values and inplace edit row is changing to default values. Can any one please put some insight?

Thanks,

Sandeep
Tsvetina
Telerik team
 answered on 25 Nov 2011
1 answer
109 views
Hi,

We are using Telerik Rad editor(6.5.2) in one of our projects. We experience the issue with Image Map Editor. When the picture is big, the scroll bars appear. But if you scroll the picture and start to "drag" an image map with your mouse, then it pops back to the starting point.
As we can see this issue is fixed in newer version of RAD Editor. But the upgrade is not suitable for us.

Is there a way to fix this issue without upgrading?
Rumen
Telerik team
 answered on 25 Nov 2011
3 answers
120 views
I use TreeList with OnItemCommand handler. In behind code I assign my UserControl  with TreeListEdit and insert as childItem.
e.Item.OwnerTreeList.EditFormSettings.UserControlPath = " MyControl.ascx ";
  
e.Item.OwnerTreeList.InsertChildItem((TreeListDataItem)e.Item, newFilterResult);

  In MyControl a have Button with Command = "InitInsert". Well, when I click on button, it dont't fire OnCommand handler. Please, help me to solve this problem.
Maria Ilieva
Telerik team
 answered on 25 Nov 2011
4 answers
365 views
I am new to the Telerik controls but I have been testing them out for a couple of weeks on a proof of concept project. I am really liking the flexibility and power of this control set. But there is a bit of a learning curve.
I'm hving an issue with canceling the sort event on the grid. I basically want to trap the sort command and stop the postback but have the header images reflect the sort direction and grap the sort expression. I am doing this all client side so I will call a web service to get the data and rebind. I found an example on how to cancel a command but for some reason the postback is still happening. I am using the demo version of the Ajax/UI control version 2009.02.0701.35. Bellow is my code.

The Grid
    <telerik:RadGrid ID="RadGrid1" runat="server" AllowSorting="True" GridLines="None" 
        Skin="Forest" AutoGenerateColumns="False" GroupingEnabled="False" ShowStatusBar="True" 
        Width="100%" Height="300px" EnableViewState="False">  
        <MasterTableView ClientDataKeyNames="bl_id,fl_id,rm_id" TableLayout="Fixed" EnableViewState="False" 
            AllowNaturalSort="True" AllowFilteringByColumn="false">  
            <RowIndicatorColumn> 
                <HeaderStyle Width="20px"></HeaderStyle> 
            </RowIndicatorColumn> 
            <ExpandCollapseColumn> 
                <HeaderStyle Width="20px"></HeaderStyle> 
            </ExpandCollapseColumn> 
            <Columns> 
                <telerik:GridBoundColumn AllowFiltering="False" DataField="bl_id" AllowSorting="false" 
                    HeaderText="Building" ReadOnly="True" ShowFilterIcon="False" UniqueName="bl_id">  
                </telerik:GridBoundColumn> 
                <telerik:GridBoundColumn AllowFiltering="False" DataField="fl_id" AllowSorting="false" 
                    HeaderText="Floor" ReadOnly="True" ShowFilterIcon="False" UniqueName="fl_id">  
                </telerik:GridBoundColumn> 
                <telerik:GridBoundColumn AllowFiltering="False" DataField="rm_id" SortExpression="rm_id" 
                    HeaderText="Room" ReadOnly="True" ShowFilterIcon="False" UniqueName="rm_id">  
                </telerik:GridBoundColumn> 
                <telerik:GridBoundColumn AllowFiltering="False" DataField="name" SortExpression="name" 
                    HeaderText="Name" ReadOnly="True" ShowFilterIcon="False" UniqueName="name">  
                </telerik:GridBoundColumn> 
                <telerik:GridBoundColumn AllowFiltering="False" DataField="use" SortExpression="rm_use" 
                    HeaderText="Use" ReadOnly="True" ShowFilterIcon="False" UniqueName="use">  
                </telerik:GridBoundColumn> 
                <telerik:GridBoundColumn AllowFiltering="False" DataField="rmtype" SortExpression="rmtype" 
                    HeaderText="Type" ReadOnly="True" ShowFilterIcon="False" UniqueName="rmtype">  
                </telerik:GridBoundColumn> 
                <telerik:GridBoundColumn AllowFiltering="False" DataField="capacity" SortExpression="capacity" 
                    HeaderText="Capacity" ReadOnly="True" ShowFilterIcon="False" UniqueName="capacity">  
                </telerik:GridBoundColumn> 
                <telerik:GridBoundColumn AllowFiltering="False" DataField="area" SortExpression="rm.area" 
                    HeaderText="Area" ReadOnly="True" ShowFilterIcon="False" UniqueName="area">  
                </telerik:GridBoundColumn> 
            </Columns> 
        </MasterTableView> 
        <ClientSettings> 
            <DataBinding CountPropertyName="" MaximumRowsParameterName=""   
                StartRowIndexParameterName="" SelectMethod="GetRoomList"   
                Location="services/SjeccdSpaceWebService.asmx" FilterParameterName="filter"   
                FilterParameterType="Linq" SortParameterName="sort" SortParameterType="Linq">  
            </DataBinding> 
            <Selecting EnableDragToSelectRows="False" AllowRowSelect="True" /> 
            <ClientEvents OnCommand="CheckStuff" /> 
            <Scrolling AllowScroll="True" UseStaticHeaders="True" EnableVirtualScrollPaging="false" /> 
        </ClientSettings> 
    </telerik:RadGrid> 

The script
<script id="sample" language="javascript" type="text/javascript">  
    function CheckStuff(sender, args) {  
         //cancel the default command to prevent postback/ajax request  
        //var sortExpressions = sender.get_masterTableView().get_sortExpressions();  
        if (args.get_commandName() == 'Sort'){  
            args.set_cancel(true);  
            //get data and update grid;  
 
        } 
        alert(args.get_cancel()); //+ sortExpressions.toString());  
    }  
 
 
</script> 

After I click the column header the sort command is trapped. I get a message box wiith 'true' and I select OK. Then the grid updates with the new sort. Does this have something to do with the data binding section of the grid control? I have about 8 hours into this and I have tried a number of diffent options. I am just stuck. Any help or best practices would be appreciated.

Thanks,
Craig
Veli
Telerik team
 answered on 25 Nov 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?