Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
85 views
I have a web user control.In my user control there is a asp:panel and in the asp:panel there are textboxes contexmenus and radgrids.
When I do enabled=false to panel only textboxes and contexmenus are be enabled=false. radgrids are still enabled=true
Why?
Eyup
Telerik team
 answered on 10 Aug 2012
3 answers
60 views
Hi,

I am trying to use the RadUpload control in my application, but I am getting some very strange results, and no matter what I do it doesn't seem to change it.
Please see the attached screen shot.
There are 2 edit controls swhowing per file, along with a Browse button AND a select button, as well as a dot to the left.
It is currently set to use the Office2010Blue skin, but seems to ignore this.
Markup for the upload control shown below


<div style="left: 0px; position:absolute; top: 60px; height: 230px; width: 320px;">
  <telerik:RadUpload ID="Upload" runat="server" MaxFileInputsCount="3" EnableEmbeddedSkins="true"
    ControlObjectsVisibility="RemoveButtons, AddButton" SkinID="Office2010Blue">
  </telerik:RadUpload>
</div>

Has anyone any idea how I can get this to look right?
What I really want, is for each file to show a text box, select button and remove button in the correct skin.


Thank you

Paul

Ivan Zhekov
Telerik team
 answered on 10 Aug 2012
4 answers
118 views
I have defined auto insert on my r.a.d. grid. When I click on Add New Record button, a form is displayed above the grid which displays all fields of the grid. This is default behavior of r.a.d grid. I want to achieve same behavior using code. Any idea?
Please help.
Radoslav
Telerik team
 answered on 10 Aug 2012
1 answer
256 views
We are having an issue deploying to our user acceptance test and production environments, the telerik webresource.axd file is getting a 404 there, causing the infamous 'Sys' is undefined error I presume.  The application works fine on the programmers development web server.  The developers app pool is set up as Framework 4.0 Integrated pipeline Windows 7, the test and production environments we deploy to are also set up as Framework 4.0 Integrated pipeline, Windows 2008.  We have had our server admin verify that the axd handler mappings are enabled.  Additionally I have read all the threads concerning this error and have tried everything, to no avail.  Pasted below are the system.web and system.webserver sections of our config file, we have included the telerik webresource axd handler, and it is recognized because if we remove it we get a telerik exception to go add it.  The crux of the problem appers to be why we are getting a 404 on this axd.  The site is accessed via IBM TAM (Tivoli Access Manager) in the deployment environments, if that makes any difference.  Our telerik menus remder however they dont fly out due to not having their axd resources, I presume, so it appears like the telerik dll is getting loaded, telerik tags are recognized.  We are deploying the telerik dll's in the /bin (not the GAC).  Also pated below is the fiddler log of our default.aspx page loading, note the telerik axd file gets 404.

I tried a small experiment, I created a dummy test.axd text file and browset it from my development machine IIS, I got a 404.17 error "The requested content appears to be script and will not be served by the static file handler".

Then I copied the same file to our deployment server site root and browsed it.  Instead of getting a 404.17 error I got a flat out 404 error saying that the resource could not be found.

There is definitly a diference in how the developer box and the deployment boxes are configured, does anyone have an idea.

We are desperate, and fully licensed for this product, we have a user community of 80,000 people waiting for us to deploy this release.  So far the only thing holding it back is this problem.  I would appreciate any help, we've exhausted everything we could find.

 

<system.web>
 
    <customErrors mode="Off" />
     
    <compilation debug="false" strict="false" explicit="true" targetFramework="4.0">
        <assemblies>
            <add assembly="Navistar.DA.Components, Version=3.0.1.0, Culture=neutral, PublicKeyToken=324F39A5E19ED4E1" />
        </assemblies>
        <expressionBuilders>
            <add expressionPrefix="GetResourceString" type="Localization" />
            <add expressionPrefix="GetResourceStringWithColon" type="Localization" />
            <add expressionPrefix="GetResourceStringWithParenthesis" type="Localization"/>
        </expressionBuilders>
    </compilation>
     
    <pages>
        <controls>
            <add tagPrefix="SE" namespace="Navistar.Service.Estimating.UI" assembly="Navistar.Service.Estimating.UI" />
            <add assembly="AjaxControlToolkit, Version=4.1.60623.0, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e" namespace="AjaxControlToolkit" tagPrefix="cc1" />
            <add tagPrefix="uc" src="~/UserControls/seGridViewExport.ascx" tagName="GridPrint" />
            <add src="~/UserControls/seDlrADPLbrType.ascx" tagName="ADPLbrTyp" tagPrefix="uc" />
            <add assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagPrefix="telerik"/>
        </controls>
    </pages>
     
    <authentication mode="Windows" />
     
    <webServices>
      <protocols>
        <add name="HttpPost" />
        <add name="HttpGet" />
        <add name="HttpSoap12" />
        <add name="HttpSoap" />
        <add name="HttpPostLocalhost" />
        <add name="Documentation" />
      </protocols>
    </webServices>
     
    <machineKey validationKey="E482B630BC30D27E2A4DF6EC9AE39E47EBE7F50234F8FC786AA325A672CB8E14EA9A6AB87026128AE4C4CBF3D365E8A06761A4DA66D7AA117D97871762AF84C9" decryptionKey="1456257BD69F2C36EBCB4A0050210A7A1F11F70E40CE4623DC93F84EDEC70C69" validation="SHA1" decryption="AES" />
 
    <httpModules>
        <remove name="WindowsAuthentication" />
        <remove name="DefaultAuthentication" />
        <remove name="FormsAuthentication" />
        <remove name="PassportAuthentication" />
        <remove name="RoleManager" />
        <remove name="UrlAuthorization" />
        <remove name="UrlMappingsModule" />
        <remove name="FileAuthorization" />
        <remove name="AnonymousIdentification" />
        <remove name="Profile" />
    </httpModules>
     
    <sessionState timeout="60" mode="InProc" />
 
    <httpHandlers>
        <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false"/>
    </httpHandlers>
 
</system.web>
 
 
<system.webServer>
    <validation validateIntegratedModeConfiguration="false" />
    <handlers>
        <clear />
        <add name="ASPNET-ISAPI-1.1-HttpRemotingHandlerFactory-soap" path="*.soap" verb="GET,HEAD,POST,DEBUG" type="" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.Net\Framework\v1.1.4322\aspnet_isapi.dll" resourceType="Unspecified" requireAccess="Script" allowPathInfo="false" preCondition="classicMode,runtimeVersionv1.1,bitness32" responseBufferLimit="0" />
        <add name="ASPNET-ISAPI-1.1-HttpRemotingHandlerFactory-rem" path="*.rem" verb="GET,HEAD,POST,DEBUG" type="" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.Net\Framework\v1.1.4322\aspnet_isapi.dll" resourceType="Unspecified" requireAccess="Script" allowPathInfo="false" preCondition="classicMode,runtimeVersionv1.1,bitness32" responseBufferLimit="0" />
        <add name="ASPNET-ISAPI-1.1-WebServiceHandlerFactory" path="*.asmx" verb="GET,HEAD,POST,DEBUG" type="" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.Net\Framework\v1.1.4322\aspnet_isapi.dll" resourceType="Unspecified" requireAccess="Script" allowPathInfo="false" preCondition="classicMode,runtimeVersionv1.1,bitness32" responseBufferLimit="0" />
        <add name="ASPNET-ISAPI-1.1-SimpleHandlerFactory" path="*.ashx" verb="GET,HEAD,POST,DEBUG" type="" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.Net\Framework\v1.1.4322\aspnet_isapi.dll" resourceType="Unspecified" requireAccess="Script" allowPathInfo="false" preCondition="classicMode,runtimeVersionv1.1,bitness32" responseBufferLimit="0" />
        <add name="ASPNET-ISAPI-1.1-PageHandlerFactory" path="*.aspx" verb="GET,HEAD,POST,DEBUG" type="" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.Net\Framework\v1.1.4322\aspnet_isapi.dll" resourceType="Unspecified" requireAccess="Script" allowPathInfo="false" preCondition="classicMode,runtimeVersionv1.1,bitness32" responseBufferLimit="0" />
        <add name="ASPNET-ISAPI-1.1-AXD" path="*.axd" verb="GET,HEAD,POST,DEBUG" type="" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.Net\Framework\v1.1.4322\aspnet_isapi.dll" resourceType="Unspecified" requireAccess="Script" allowPathInfo="false" preCondition="classicMode,runtimeVersionv1.1,bitness32" responseBufferLimit="0" />
        <add name="SSINC-stm" path="*.stm" verb="GET,POST" type="" modules="ServerSideIncludeModule" scriptProcessor="" resourceType="File" requireAccess="Script" allowPathInfo="false" preCondition="" responseBufferLimit="4194304" />
        <add name="SSINC-shtm" path="*.shtm" verb="GET,POST" type="" modules="ServerSideIncludeModule" scriptProcessor="" resourceType="File" requireAccess="Script" allowPathInfo="false" preCondition="" responseBufferLimit="4194304" />
        <add name="SSINC-shtml" path="*.shtml" verb="GET,POST" type="" modules="ServerSideIncludeModule" scriptProcessor="" resourceType="File" requireAccess="Script" allowPathInfo="false" preCondition="" responseBufferLimit="4194304" />
        <add name="ASPClassic" path="*.asp" verb="GET,HEAD,POST" type="" modules="IsapiModule" scriptProcessor="%windir%\system32\inetsrv\asp.dll" resourceType="File" requireAccess="Script" allowPathInfo="false" preCondition="" responseBufferLimit="4194304" />
        <add name="AXD-ISAPI-4.0_32bit" path="*.axd" verb="GET,HEAD,POST,DEBUG" type="" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" resourceType="Unspecified" requireAccess="Script" allowPathInfo="false" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" />
        <add name="PageHandlerFactory-ISAPI-4.0_32bit" path="*.aspx" verb="GET,HEAD,POST,DEBUG" type="" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" resourceType="Unspecified" requireAccess="Script" allowPathInfo="false" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" />
        <add name="SimpleHandlerFactory-ISAPI-4.0_32bit" path="*.ashx" verb="GET,HEAD,POST,DEBUG" type="" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" resourceType="Unspecified" requireAccess="Script" allowPathInfo="false" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" />
        <add name="WebServiceHandlerFactory-ISAPI-4.0_32bit" path="*.asmx" verb="GET,HEAD,POST,DEBUG" type="" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" resourceType="Unspecified" requireAccess="Script" allowPathInfo="false" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" />
        <add name="HttpRemotingHandlerFactory-rem-ISAPI-4.0_32bit" path="*.rem" verb="GET,HEAD,POST,DEBUG" type="" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" resourceType="Unspecified" requireAccess="Script" allowPathInfo="false" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" />
        <add name="HttpRemotingHandlerFactory-soap-ISAPI-4.0_32bit" path="*.soap" verb="GET,HEAD,POST,DEBUG" type="" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" resourceType="Unspecified" requireAccess="Script" allowPathInfo="false" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" />
        <add name="svc-ISAPI-4.0_32bit" path="*.svc" verb="*" type="" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" resourceType="Unspecified" requireAccess="Script" allowPathInfo="false" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" />
        <add name="rules-ISAPI-4.0_32bit" path="*.rules" verb="*" type="" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" resourceType="Unspecified" requireAccess="Script" allowPathInfo="false" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" />
        <add name="xoml-ISAPI-4.0_32bit" path="*.xoml" verb="*" type="" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" resourceType="Unspecified" requireAccess="Script" allowPathInfo="false" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" />
        <add name="xamlx-ISAPI-4.0_32bit" path="*.xamlx" verb="GET,HEAD,POST,DEBUG" type="" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" resourceType="Unspecified" requireAccess="Script" allowPathInfo="false" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" />
        <add name="aspq-ISAPI-4.0_32bit" path="*.aspq" verb="GET,HEAD,POST,DEBUG" type="" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" resourceType="Unspecified" requireAccess="Script" allowPathInfo="false" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" />
        <add name="cshtm-ISAPI-4.0_32bit" path="*.cshtm" verb="GET,HEAD,POST,DEBUG" type="" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" resourceType="Unspecified" requireAccess="Script" allowPathInfo="false" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" />
        <add name="cshtml-ISAPI-4.0_32bit" path="*.cshtml" verb="GET,HEAD,POST,DEBUG" type="" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" resourceType="Unspecified" requireAccess="Script" allowPathInfo="false" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" />
        <add name="vbhtm-ISAPI-4.0_32bit" path="*.vbhtm" verb="GET,HEAD,POST,DEBUG" type="" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" resourceType="Unspecified" requireAccess="Script" allowPathInfo="false" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" />
        <add name="vbhtml-ISAPI-4.0_32bit" path="*.vbhtml" verb="GET,HEAD,POST,DEBUG" type="" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" resourceType="Unspecified" requireAccess="Script" allowPathInfo="false" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" />
        <add name="AXD-ISAPI-4.0_64bit" path="*.axd" verb="GET,HEAD,POST,DEBUG" type="" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" resourceType="Unspecified" requireAccess="Script" allowPathInfo="false" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" />
        <add name="PageHandlerFactory-ISAPI-4.0_64bit" path="*.aspx" verb="GET,HEAD,POST,DEBUG" type="" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" resourceType="Unspecified" requireAccess="Script" allowPathInfo="false" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" />
        <add name="SimpleHandlerFactory-ISAPI-4.0_64bit" path="*.ashx" verb="GET,HEAD,POST,DEBUG" type="" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" resourceType="Unspecified" requireAccess="Script" allowPathInfo="false" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" />
        <add name="WebServiceHandlerFactory-ISAPI-4.0_64bit" path="*.asmx" verb="GET,HEAD,POST,DEBUG" type="" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" resourceType="Unspecified" requireAccess="Script" allowPathInfo="false" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" />
        <add name="HttpRemotingHandlerFactory-rem-ISAPI-4.0_64bit" path="*.rem" verb="GET,HEAD,POST,DEBUG" type="" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" resourceType="Unspecified" requireAccess="Script" allowPathInfo="false" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" />
        <add name="HttpRemotingHandlerFactory-soap-ISAPI-4.0_64bit" path="*.soap" verb="GET,HEAD,POST,DEBUG" type="" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" resourceType="Unspecified" requireAccess="Script" allowPathInfo="false" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" />
        <add name="svc-ISAPI-4.0_64bit" path="*.svc" verb="*" type="" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" resourceType="Unspecified" requireAccess="Script" allowPathInfo="false" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" />
        <add name="rules-ISAPI-4.0_64bit" path="*.rules" verb="*" type="" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" resourceType="Unspecified" requireAccess="Script" allowPathInfo="false" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" />
        <add name="xoml-ISAPI-4.0_64bit" path="*.xoml" verb="*" type="" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" resourceType="Unspecified" requireAccess="Script" allowPathInfo="false" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" />
        <add name="xamlx-ISAPI-4.0_64bit" path="*.xamlx" verb="GET,HEAD,POST,DEBUG" type="" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" resourceType="Unspecified" requireAccess="Script" allowPathInfo="false" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" />
        <add name="aspq-ISAPI-4.0_64bit" path="*.aspq" verb="GET,HEAD,POST,DEBUG" type="" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" resourceType="Unspecified" requireAccess="Script" allowPathInfo="false" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" />
        <add name="cshtm-ISAPI-4.0_64bit" path="*.cshtm" verb="GET,HEAD,POST,DEBUG" type="" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" resourceType="Unspecified" requireAccess="Script" allowPathInfo="false" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" />
        <add name="cshtml-ISAPI-4.0_64bit" path="*.cshtml" verb="GET,HEAD,POST,DEBUG" type="" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" resourceType="Unspecified" requireAccess="Script" allowPathInfo="false" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" />
        <add name="vbhtm-ISAPI-4.0_64bit" path="*.vbhtm" verb="GET,HEAD,POST,DEBUG" type="" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" resourceType="Unspecified" requireAccess="Script" allowPathInfo="false" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" />
        <add name="vbhtml-ISAPI-4.0_64bit" path="*.vbhtml" verb="GET,HEAD,POST,DEBUG" type="" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" resourceType="Unspecified" requireAccess="Script" allowPathInfo="false" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" />
        <add name="TraceHandler-Integrated-4.0" path="trace.axd" verb="GET,HEAD,POST,DEBUG" type="System.Web.Handlers.TraceHandler" modules="ManagedPipelineHandler" scriptProcessor="" resourceType="Unspecified" requireAccess="Script" allowPathInfo="false" preCondition="integratedMode,runtimeVersionv4.0" responseBufferLimit="4194304" />
        <add name="WebAdminHandler-Integrated-4.0" path="WebAdmin.axd" verb="GET,DEBUG" type="System.Web.Handlers.WebAdminHandler" modules="ManagedPipelineHandler" scriptProcessor="" resourceType="Unspecified" requireAccess="Script" allowPathInfo="false" preCondition="integratedMode,runtimeVersionv4.0" responseBufferLimit="4194304" />
        <add name="AssemblyResourceLoader-Integrated-4.0" path="WebResource.axd" verb="GET,DEBUG" type="System.Web.Handlers.AssemblyResourceLoader" modules="ManagedPipelineHandler" scriptProcessor="" resourceType="Unspecified" requireAccess="Script" allowPathInfo="false" preCondition="integratedMode,runtimeVersionv4.0" responseBufferLimit="4194304" />
        <add name="PageHandlerFactory-Integrated-4.0" path="*.aspx" verb="GET,HEAD,POST,DEBUG" type="System.Web.UI.PageHandlerFactory" modules="ManagedPipelineHandler" scriptProcessor="" resourceType="Unspecified" requireAccess="Script" allowPathInfo="false" preCondition="integratedMode,runtimeVersionv4.0" responseBufferLimit="4194304" />
        <add name="SimpleHandlerFactory-Integrated-4.0" path="*.ashx" verb="GET,HEAD,POST,DEBUG" type="System.Web.UI.SimpleHandlerFactory" modules="ManagedPipelineHandler" scriptProcessor="" resourceType="Unspecified" requireAccess="Script" allowPathInfo="false" preCondition="integratedMode,runtimeVersionv4.0" responseBufferLimit="4194304" />
        <add name="WebServiceHandlerFactory-Integrated-4.0" path="*.asmx" verb="GET,HEAD,POST,DEBUG" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" modules="ManagedPipelineHandler" scriptProcessor="" resourceType="Unspecified" requireAccess="Script" allowPathInfo="false" preCondition="integratedMode,runtimeVersionv4.0" responseBufferLimit="4194304" />
        <add name="HttpRemotingHandlerFactory-rem-Integrated-4.0" path="*.rem" verb="GET,HEAD,POST,DEBUG" type="System.Runtime.Remoting.Channels.Http.HttpRemotingHandlerFactory, System.Runtime.Remoting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" modules="ManagedPipelineHandler" scriptProcessor="" resourceType="Unspecified" requireAccess="Script" allowPathInfo="false" preCondition="integratedMode,runtimeVersionv4.0" responseBufferLimit="4194304" />
        <add name="HttpRemotingHandlerFactory-soap-Integrated-4.0" path="*.soap" verb="GET,HEAD,POST,DEBUG" type="System.Runtime.Remoting.Channels.Http.HttpRemotingHandlerFactory, System.Runtime.Remoting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" modules="ManagedPipelineHandler" scriptProcessor="" resourceType="Unspecified" requireAccess="Script" allowPathInfo="false" preCondition="integratedMode,runtimeVersionv4.0" responseBufferLimit="4194304" />
        <add name="svc-Integrated-4.0" path="*.svc" verb="*" type="System.ServiceModel.Activation.ServiceHttpHandlerFactory, System.ServiceModel.Activation, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" modules="ManagedPipelineHandler" scriptProcessor="" resourceType="Unspecified" requireAccess="Script" allowPathInfo="false" preCondition="integratedMode,runtimeVersionv4.0" responseBufferLimit="4194304" />
        <add name="rules-Integrated-4.0" path="*.rules" verb="*" type="System.ServiceModel.Activation.ServiceHttpHandlerFactory, System.ServiceModel.Activation, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" modules="ManagedPipelineHandler" scriptProcessor="" resourceType="Unspecified" requireAccess="Script" allowPathInfo="false" preCondition="integratedMode,runtimeVersionv4.0" responseBufferLimit="4194304" />
        <add name="xoml-Integrated-4.0" path="*.xoml" verb="*" type="System.ServiceModel.Activation.ServiceHttpHandlerFactory, System.ServiceModel.Activation, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" modules="ManagedPipelineHandler" scriptProcessor="" resourceType="Unspecified" requireAccess="Script" allowPathInfo="false" preCondition="integratedMode,runtimeVersionv4.0" responseBufferLimit="4194304" />
        <add name="xamlx-Integrated-4.0" path="*.xamlx" verb="GET,HEAD,POST,DEBUG" type="System.Xaml.Hosting.XamlHttpHandlerFactory, System.Xaml.Hosting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" modules="ManagedPipelineHandler" scriptProcessor="" resourceType="Unspecified" requireAccess="Script" allowPathInfo="false" preCondition="integratedMode,runtimeVersionv4.0" responseBufferLimit="4194304" />
        <add name="aspq-Integrated-4.0" path="*.aspq" verb="GET,HEAD,POST,DEBUG" type="System.Web.HttpForbiddenHandler" modules="ManagedPipelineHandler" scriptProcessor="" resourceType="Unspecified" requireAccess="Script" allowPathInfo="false" preCondition="integratedMode,runtimeVersionv4.0" responseBufferLimit="4194304" />
        <add name="cshtm-Integrated-4.0" path="*.cshtm" verb="GET,HEAD,POST,DEBUG" type="System.Web.HttpForbiddenHandler" modules="ManagedPipelineHandler" scriptProcessor="" resourceType="Unspecified" requireAccess="Script" allowPathInfo="false" preCondition="integratedMode,runtimeVersionv4.0" responseBufferLimit="4194304" />
        <add name="cshtml-Integrated-4.0" path="*.cshtml" verb="GET,HEAD,POST,DEBUG" type="System.Web.HttpForbiddenHandler" modules="ManagedPipelineHandler" scriptProcessor="" resourceType="Unspecified" requireAccess="Script" allowPathInfo="false" preCondition="integratedMode,runtimeVersionv4.0" responseBufferLimit="4194304" />
        <add name="vbhtm-Integrated-4.0" path="*.vbhtm" verb="GET,HEAD,POST,DEBUG" type="System.Web.HttpForbiddenHandler" modules="ManagedPipelineHandler" scriptProcessor="" resourceType="Unspecified" requireAccess="Script" allowPathInfo="false" preCondition="integratedMode,runtimeVersionv4.0" responseBufferLimit="4194304" />
        <add name="vbhtml-Integrated-4.0" path="*.vbhtml" verb="GET,HEAD,POST,DEBUG" type="System.Web.HttpForbiddenHandler" modules="ManagedPipelineHandler" scriptProcessor="" resourceType="Unspecified" requireAccess="Script" allowPathInfo="false" preCondition="integratedMode,runtimeVersionv4.0" responseBufferLimit="4194304" />
        <add name="ScriptHandlerFactoryAppServices-Integrated-4.0" path="*_AppService.axd" verb="*" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" modules="ManagedPipelineHandler" scriptProcessor="" resourceType="Unspecified" requireAccess="Script" allowPathInfo="false" preCondition="integratedMode,runtimeVersionv4.0" responseBufferLimit="4194304" />
        <add name="ScriptResourceIntegrated-4.0" path="ScriptResource.axd" verb="GET,HEAD" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" modules="ManagedPipelineHandler" scriptProcessor="" resourceType="Unspecified" requireAccess="Script" allowPathInfo="false" preCondition="integratedMode,runtimeVersionv4.0" responseBufferLimit="4194304" />
        <add name="SecurityCertificate" path="*.cer" verb="GET,HEAD,POST" type="" modules="IsapiModule" scriptProcessor="%windir%\system32\inetsrv\asp.dll" resourceType="File" requireAccess="Script" allowPathInfo="false" preCondition="" responseBufferLimit="4194304" />
        <add name="ISAPI-dll" path="*.dll" verb="*" type="" modules="IsapiModule" scriptProcessor="" resourceType="File" requireAccess="Execute" allowPathInfo="true" preCondition="" responseBufferLimit="4194304" />
        <add name="TraceHandler-Integrated" path="trace.axd" verb="GET,HEAD,POST,DEBUG" type="System.Web.Handlers.TraceHandler" modules="ManagedPipelineHandler" scriptProcessor="" resourceType="Unspecified" requireAccess="Script" allowPathInfo="false" preCondition="integratedMode" responseBufferLimit="4194304" />
        <add name="WebAdminHandler-Integrated" path="WebAdmin.axd" verb="GET,DEBUG" type="System.Web.Handlers.WebAdminHandler" modules="ManagedPipelineHandler" scriptProcessor="" resourceType="Unspecified" requireAccess="Script" allowPathInfo="false" preCondition="integratedMode" responseBufferLimit="4194304" />
        <add name="AssemblyResourceLoader-Integrated" path="WebResource.axd" verb="GET,DEBUG" type="System.Web.Handlers.AssemblyResourceLoader" modules="ManagedPipelineHandler" scriptProcessor="" resourceType="Unspecified" requireAccess="Script" allowPathInfo="false" preCondition="integratedMode" responseBufferLimit="4194304" />
        <add name="PageHandlerFactory-Integrated" path="*.aspx" verb="GET,HEAD,POST,DEBUG" type="System.Web.UI.PageHandlerFactory" modules="ManagedPipelineHandler" scriptProcessor="" resourceType="Unspecified" requireAccess="Script" allowPathInfo="false" preCondition="integratedMode" responseBufferLimit="4194304" />
        <add name="SimpleHandlerFactory-Integrated" path="*.ashx" verb="GET,HEAD,POST,DEBUG" type="System.Web.UI.SimpleHandlerFactory" modules="ManagedPipelineHandler" scriptProcessor="" resourceType="Unspecified" requireAccess="Script" allowPathInfo="false" preCondition="integratedMode" responseBufferLimit="4194304" />
        <add name="WebServiceHandlerFactory-Integrated" path="*.asmx" verb="GET,HEAD,POST,DEBUG" type="System.Web.Services.Protocols.WebServiceHandlerFactory, System.Web.Services, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" modules="ManagedPipelineHandler" scriptProcessor="" resourceType="Unspecified" requireAccess="Script" allowPathInfo="false" preCondition="integratedMode,runtimeVersionv2.0" responseBufferLimit="4194304" />
        <add name="HttpRemotingHandlerFactory-rem-Integrated" path="*.rem" verb="GET,HEAD,POST,DEBUG" type="System.Runtime.Remoting.Channels.Http.HttpRemotingHandlerFactory, System.Runtime.Remoting, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" modules="ManagedPipelineHandler" scriptProcessor="" resourceType="Unspecified" requireAccess="Script" allowPathInfo="false" preCondition="integratedMode,runtimeVersionv2.0" responseBufferLimit="4194304" />
        <add name="HttpRemotingHandlerFactory-soap-Integrated" path="*.soap" verb="GET,HEAD,POST,DEBUG" type="System.Runtime.Remoting.Channels.Http.HttpRemotingHandlerFactory, System.Runtime.Remoting, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" modules="ManagedPipelineHandler" scriptProcessor="" resourceType="Unspecified" requireAccess="Script" allowPathInfo="false" preCondition="integratedMode,runtimeVersionv2.0" responseBufferLimit="4194304" />
        <add name="AXD-ISAPI-2.0" path="*.axd" verb="GET,HEAD,POST,DEBUG" type="" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" resourceType="Unspecified" requireAccess="Script" allowPathInfo="false" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />
        <add name="PageHandlerFactory-ISAPI-2.0" path="*.aspx" verb="GET,HEAD,POST,DEBUG" type="" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" resourceType="Unspecified" requireAccess="Script" allowPathInfo="false" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />
        <add name="SimpleHandlerFactory-ISAPI-2.0" path="*.ashx" verb="GET,HEAD,POST,DEBUG" type="" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" resourceType="Unspecified" requireAccess="Script" allowPathInfo="false" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />
        <add name="WebServiceHandlerFactory-ISAPI-2.0" path="*.asmx" verb="GET,HEAD,POST,DEBUG" type="" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" resourceType="Unspecified" requireAccess="Script" allowPathInfo="false" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />
        <add name="HttpRemotingHandlerFactory-rem-ISAPI-2.0" path="*.rem" verb="GET,HEAD,POST,DEBUG" type="" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" resourceType="Unspecified" requireAccess="Script" allowPathInfo="false" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />
        <add name="HttpRemotingHandlerFactory-soap-ISAPI-2.0" path="*.soap" verb="GET,HEAD,POST,DEBUG" type="" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" resourceType="Unspecified" requireAccess="Script" allowPathInfo="false" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />
        <add name="AXD-ISAPI-2.0-64" path="*.axd" verb="GET,HEAD,POST,DEBUG" type="" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll" resourceType="Unspecified" requireAccess="Script" allowPathInfo="false" preCondition="classicMode,runtimeVersionv2.0,bitness64" responseBufferLimit="0" />
        <add name="PageHandlerFactory-ISAPI-2.0-64" path="*.aspx" verb="GET,HEAD,POST,DEBUG" type="" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll" resourceType="Unspecified" requireAccess="Script" allowPathInfo="false" preCondition="classicMode,runtimeVersionv2.0,bitness64" responseBufferLimit="0" />
        <add name="SimpleHandlerFactory-ISAPI-2.0-64" path="*.ashx" verb="GET,HEAD,POST,DEBUG" type="" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll" resourceType="Unspecified" requireAccess="Script" allowPathInfo="false" preCondition="classicMode,runtimeVersionv2.0,bitness64" responseBufferLimit="0" />
        <add name="WebServiceHandlerFactory-ISAPI-2.0-64" path="*.asmx" verb="GET,HEAD,POST,DEBUG" type="" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll" resourceType="Unspecified" requireAccess="Script" allowPathInfo="false" preCondition="classicMode,runtimeVersionv2.0,bitness64" responseBufferLimit="0" />
        <add name="HttpRemotingHandlerFactory-rem-ISAPI-2.0-64" path="*.rem" verb="GET,HEAD,POST,DEBUG" type="" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll" resourceType="Unspecified" requireAccess="Script" allowPathInfo="false" preCondition="classicMode,runtimeVersionv2.0,bitness64" responseBufferLimit="0" />
        <add name="HttpRemotingHandlerFactory-soap-ISAPI-2.0-64" path="*.soap" verb="GET,HEAD,POST,DEBUG" type="" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll" resourceType="Unspecified" requireAccess="Script" allowPathInfo="false" preCondition="classicMode,runtimeVersionv2.0,bitness64" responseBufferLimit="0" />
        <add name="TRACEVerbHandler" path="*" verb="TRACE" type="" modules="ProtocolSupportModule" scriptProcessor="" resourceType="Unspecified" requireAccess="None" allowPathInfo="false" preCondition="" responseBufferLimit="4194304" />
        <add name="OPTIONSVerbHandler" path="*" verb="OPTIONS" type="" modules="ProtocolSupportModule" scriptProcessor="" resourceType="Unspecified" requireAccess="None" allowPathInfo="false" preCondition="" responseBufferLimit="4194304" />
        <add name="ExtensionlessUrlHandler-ISAPI-4.0_32bit" path="*." verb="GET,HEAD,POST,DEBUG" type="" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" resourceType="Unspecified" requireAccess="Script" allowPathInfo="false" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" />
        <add name="ExtensionlessUrlHandler-ISAPI-4.0_64bit" path="*." verb="GET,HEAD,POST,DEBUG" type="" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" resourceType="Unspecified" requireAccess="Script" allowPathInfo="false" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" />
        <add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="GET,HEAD,POST,DEBUG" type="System.Web.Handlers.TransferRequestHandler" modules="ManagedPipelineHandler" scriptProcessor="" resourceType="Unspecified" requireAccess="Script" allowPathInfo="false" preCondition="integratedMode,runtimeVersionv4.0" responseBufferLimit="4194304" />
        <add name="StaticFile" path="*" verb="*" type="" modules="StaticFileModule,DefaultDocumentModule,DirectoryListingModule" scriptProcessor="" resourceType="Either" requireAccess="Read" allowPathInfo="false" preCondition="" responseBufferLimit="4194304" />
 
        <remove name="Telerik_Web_UI_WebResource_axd"/>
        <add name="Telerik_Web_UI_WebResource_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource"/>
         
    </handlers>
</system.webServer>

 
The Fiddler log follows:

CONNECT http://evaluet.internationaldelivers.com:443
200 DecryptTunnel Established ()
 
GET https://evaluet.internationaldelivers.com/service_rms/Portals/_Dealer/Default.aspx
200 OK (text/html)
 
GET https://evaluet.internationaldelivers.com/service_rms/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=MasterScriptManager_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bAjaxControlToolkit%2c+Version%3d4.1.60623.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d28f01b0e84b6d53e%3aen-US%3a187c1d17-2715-476f-9eeb-4fd46e2849ea%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2011.2.915.40%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3a9799c67b-558a-475d-bf30-a0ccf0dbb8b7%3a16e4e7cd%3af7645509%3a24ee1bba%3ae330518b%3a1e771326%3ac8618e41%3bAjaxControlToolkit%2c+Version%3d4.1.60623.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d28f01b0e84b6d53e%3aen-US%3a187c1d17-2715-476f-9eeb-4fd46e2849ea%3a923aa3cc%3a782b16ab%3af48dface%3a853c2e0b%3a46f97eb1%3a50114f04%3a29340eb0%3a8a480787
404 Not Found (text/html)
 
CONNECT http://evaluet.internationaldelivers.com:443
200 DecryptTunnel Established ()
 
GET https://evaluet.internationaldelivers.com/service_rms/seScriptSvc.asmx/js
304 Not Modified ()
 
GET https://evaluet.internationaldelivers.com/service_rms/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=MasterScriptManager_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bAjaxControlToolkit%2c+Version%3d4.1.60623.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d28f01b0e84b6d53e%3aen-US%3a187c1d17-2715-476f-9eeb-4fd46e2849ea%3aea597d4b%3ab25378d2%3a923aa3cc%3a782b16ab%3acfb54798%3af48dface
404 Not Found (text/html)
 
CONNECT http://evaluet.internationaldelivers.com:443
200 DecryptTunnel Established ()
 
CONNECT http://evaluet.internationaldelivers.com:443
200 DecryptTunnel Established ()
 
GET https://evaluet.internationaldelivers.com/service_rms/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=MasterScriptManager_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bAjaxControlToolkit%2c+Version%3d4.1.60623.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d28f01b0e84b6d53e%3aen-US%3a187c1d17-2715-476f-9eeb-4fd46e2849ea%3aea597d4b%3ab25378d2
404 Not Found (text/html)
 
GET https://evaluet.internationaldelivers.com/service_rms/Portals/_Dealer/seDlrIcons.aspx
200 OK (text/html)
 
GET https://evaluet.internationaldelivers.com/service_rms/favicon.ico
404 Not Found (text/html)
Genady Sergeev
Telerik team
 answered on 10 Aug 2012
1 answer
104 views
Hello,

I am have currently added the following piece of JavaScript to the Column Resizing Event of a RadGrid I am using:

function ColumnResizing(sender, args)
{
    if (args.get_gridColumn()._columnResizer._currentWidth < 60)
    {
        args.set_cancel(true);
    }
}

It works so far, but now I would also like the "tool tip", which appears during the resizing and displays the exact width of the column, to stop at 60px. Is it possible to access the tool tip and set it's text in the code above, and would that work out as intended?

Thanks in advance,
Robin
Princy
Top achievements
Rank 2
 answered on 10 Aug 2012
2 answers
392 views
What I am trying to accomplish is writing a javascript function that when called from the click of a page element does the tabbing and changing of the of the RadTabStrip and RadMultiPage, with the option of passing a query string. However, I would like the option of passing in another boolean parameter that will notify the "sending" tab the next time it is clicked, it needs to reload its content. I have had some success in changing the RadTabStrip and RadMultiPage from my script, as well as the using the query string by changing the ContentUrl of the "target" PageView, but have been experiencing a lot of trouble in figuring out how to get the "sending" tab to reload its PageView.

Current JS file:
function ToolClick(sender, args, queryString, targetPageIndex, refreshSendingPage) {
    var revertContentUrl = false;
 
    // get the multi page ID, and tab strip ID, from the SiteAuthenticated script
    var multiPageID = top.GetMultiPageID();
    var multiPage = top.$find(multiPageID);
    var tabStripID = top.GetTabStripID();
    var tabStrip = top.$find(tabStripID);
 
    // get the target page view, and get its pre Tab Content URL for reverting after selection
    var multiPageViews = multiPage.get_pageViews();
    var targetPageView = multiPageViews._data[targetPageIndex];
    var preTabPageContentUrl = targetPageView.get_contentUrl();
 
    // change the page View's ContentUrl if the queryString was supplied
    if (queryString != null && queryString.length > 0) {
        targetPageView.set_contentUrl(preTabPageContentUrl + queryString);
        revertContentUrl = true;
    }
 
    // if refreshSendingPage is true then set the tab we are leaving to PostBack on next click
    if (refreshSendingPage) {
        var currentTab = tabStrip.get_selectedTab();
        currentTab.set_value("reload");
    }
 
    // do the tab change
    tabStrip.get_tabs()._array[targetPageIndex].select();   
 
    // if we changed the contentUrl for the query then change it back
    //if (revertContentUrl) {
    //    targetPageView.set_contentUrl(preTabPageContentUrl);
    //}
}
 
// to be used in determining if the tab needs to postBack or not
function TabStrip_OnTabSelecting(sender, args) {
    var selectingTab = args.get_tab();
    // check tab values for post back
    if (selectingTab.get_value() == "reload") {
        // the tab is set to post back so unload and reload the related pageView
    }
}


Thank you in advance for assistance.
Anton
Top achievements
Rank 1
 answered on 10 Aug 2012
1 answer
398 views

Hi,

  In Rad Panelbar we have an option to select the tempalte either  ItemTemplate or ContentTemplate. Which one is the best option to select as a Template. What is the difference in both these templates?.,   What are the difficulties occur when we are using these templates in ajax?


Thanks,
Velkumar.
Princy
Top achievements
Rank 2
 answered on 10 Aug 2012
1 answer
228 views
I could use some clues to help me find what I've done wrong.  Here's the situation:

I have a RadGrid control where there is a top level for Issues where each Issue can have 0-n Action Items.  The grid initially displays just the Issues. Clicking on the expand button causes an Ajax postaback, the Action Items for the selected issue are retrieved and displayed.

This was working fine until I started working on some modifications to make it work in different environment. The change involves getting the name of a SharePoint sub-site from a web part connector instead of assuming the current site. The connector event fires relatively late in lifecycle of a page, so I had to re-arrange data binding code.  I'm sure this has something to do with my problem.

After these changes, the grid no longer expands/contracts when the button is pressed.  The Ajax postback is still occurring and the events are still firing on code behind as expected.  The data is retrieved and added to the child view.  If I expand all the rows declaratively, I can see all the data. The properties of the grid item show "Expanded=true."

Has anybody seen this?  Is there some secret to getting the grid to redraw itself on an Ajax postback when the server side code has rebound data?

<%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %>
<%@ Assembly Name="Microsoft.Web.CommandUI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls"
    Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="asp" Namespace="System.Web.UI" Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>
<%@ Import Namespace="Microsoft.SharePoint" %>
<%@ Register TagPrefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages"
    Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="Telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI, Version=2010.3.1317.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" %>
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="IssuesAndActionsDisplayUserControl.ascx.cs"
    Inherits="DEP.PMIS.Project.Dashboard.IssuesAndActionsDisplay.IssuesAndActionsDisplayUserControl" %>
<Telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Skin="Default">
    <asp:Label ID="lblLoading" runat="server">Loading... </asp:Label>
</Telerik:RadAjaxLoadingPanel>
<!--Added to hide Recently modified Quick launch -->
<style type="text/css">
.s4-recentchanges
{display:none ;}
</style>
<div class="events-info">
    <Telerik:RadAjaxManagerProxy ID="AjaxManagerProxy1" runat="server">
        <AjaxSettings>
            <Telerik:AjaxSetting AjaxControlID="RadGrid1" >
                <UpdatedControls>
                    <Telerik:AjaxUpdatedControl ControlID="RadGrid1" LoadingPanelID="RadAjaxLoadingPanel1" />
                </UpdatedControls>
            </Telerik:AjaxSetting>
        </AjaxSettings>
    </Telerik:RadAjaxManagerProxy>
    <Telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server">
        <Telerik:RadGrid ID="RadGrid1" 
            runat="server" 
            OnPreRender="RadGrid1_PreRender" 
            onitemdatabound="RadGrid1_ItemDataBound" 
            OnDetailTableDataBind="RadGrid1_DetailTableDataBind"
            GridLines="None" 
            DataMember="Issues"
            AllowFilteringByColumn="True" 
            AllowSorting="True"
            AllowPaging="True" 
            AutoGenerateColumns="False" 
            onpdfexporting="RadGrid1_PdfExporting"
            onitemcommand="RadGrid1_ItemCommand">
            <ExportSettings IgnorePaging="true" OpenInNewWindow="true" FileName="Issues_And_Actions" >
                <Pdf Title="Issues and Actions Report" PageHeight="13in" PageWidth="19in" />
            </ExportSettings>
            <MasterTableView DataKeyNames="Issue ID" 
                HierarchyDefaultExpanded="true"
                GridLines="None" 
                BorderStyle="Outset" 
                NoMasterRecordsText="No Issues to display" 
                NoDetailRecordsText="No Action Items to display">
                <CommandItemSettings ExportToPdfText="Export to Pdf" />
                <RowIndicatorColumn FilterControlAltText="Filter RowIndicator column">
                </RowIndicatorColumn>
                <ExpandCollapseColumn FilterControlAltText="Filter ExpandColumn column" 
                    Visible="True">
                </ExpandCollapseColumn>
                <Columns>
                    <Telerik:GridHyperLinkColumn AllowFiltering="False" 
                        FilterControlAltText="Issue Filter Column" HeaderText="Issue ID" 
                        Text="Link" UniqueName="Issue ID"  ItemStyle-Width="15%" 
                        CurrentFilterFunction="StartsWith" FilterDelay="4000" ShowFilterIcon="false" 
                        ItemStyle-BorderStyle="Outset" ItemStyle-BorderWidth="1px">
                        <ItemStyle Width="15%"/>
                    </Telerik:GridHyperLinkColumn>
                    <Telerik:GridBoundColumn HeaderText="Issue Name" DataField="Issue Name" 
                        ItemStyle-Width="15%" 
                        CurrentFilterFunction="StartsWith" FilterDelay="4000" ShowFilterIcon="false" ItemStyle-BorderStyle="Outset" ItemStyle-BorderWidth="1px">
                        <ItemStyle Width="15%" />
                    </Telerik:GridBoundColumn>
                    <Telerik:GridBoundColumn HeaderText="Issue Description" 
                        DataField="Issue Description" ItemStyle-Width="30%" 
                        CurrentFilterFunction="StartsWith" FilterDelay="4000" ShowFilterIcon="false" ItemStyle-BorderStyle="Outset" ItemStyle-BorderWidth="1px">
                        <ItemStyle Width="30%" />
                    </Telerik:GridBoundColumn>
                    <Telerik:GridBoundColumn HeaderText="Priority" DataField="Issue Priority" 
                        ItemStyle-Width="7%" AutoPostBackOnFilter="true"
                        CurrentFilterFunction="StartsWith" FilterDelay="4000" ShowFilterIcon="false" ItemStyle-BorderStyle="Outset" ItemStyle-BorderWidth="1px">
                        <ItemStyle Width="7%" />
                    </Telerik:GridBoundColumn>
                    <Telerik:GridBoundColumn HeaderText="Created" DataField="Issue Created Date" 
                        ItemStyle-Width="8%" AutoPostBackOnFilter="true" DataFormatString="{0:d}"
                        CurrentFilterFunction="StartsWith" FilterDelay="4000" ShowFilterIcon="false" ItemStyle-BorderStyle="Outset" ItemStyle-BorderWidth="1px">
                        <ItemStyle Width="8%" />
                    </Telerik:GridBoundColumn>
                    <Telerik:GridBoundColumn HeaderText="Completed" 
                        DataField="Issue Completed Date" ItemStyle-Width="8%" DataFormatString="{0:d}"
                        CurrentFilterFunction="StartsWith" FilterDelay="4000" ShowFilterIcon="false" ItemStyle-BorderStyle="Outset" ItemStyle-BorderWidth="1px">
                        <ItemStyle Width="8%" />
                    </Telerik:GridBoundColumn>
                    <Telerik:GridBoundColumn HeaderText="Due Date" 
                        DataField="Target Resolution Date" ItemStyle-Width="8%" DataFormatString="{0:d}"
                        CurrentFilterFunction="StartsWith" FilterDelay="4000" ShowFilterIcon="false" ItemStyle-BorderStyle="Outset" ItemStyle-BorderWidth="1px">
                        <ItemStyle Width="8%" />
                    </Telerik:GridBoundColumn>
                    <Telerik:GridBoundColumn HeaderText="Request Status"  
                        DataField="Request Status" ItemStyle-Width="9%"
                        CurrentFilterFunction="StartsWith" FilterDelay="4000" ShowFilterIcon="false" ItemStyle-BorderStyle="Outset" ItemStyle-BorderWidth="1px">
                        <ItemStyle Width="9%" />
                    </Telerik:GridBoundColumn>
                </Columns>
                <DetailTables>
                    <Telerik:GridTableView runat="server" 
                        DataKeyNames="Issue ID" 
                        DataMember="Actions" 
                        Name="Actions" 
                        GridLines="Horizontal"
                        PageSize="5" 
                        Width="100%" 
                        AllowFilteringByColumn="false" 
                        NoDetailRecordsText="No Action Items to display" 
                        NoMasterRecordsText="No Issues to display"
                        AllowSorting="true">
                        <CommandItemSettings ExportToPdfText="Export to Pdf" />
                        <RowIndicatorColumn FilterControlAltText="Filter RowIndicator column">
                            <HeaderStyle Width="20px" />
                        </RowIndicatorColumn>
                        <ExpandCollapseColumn FilterControlAltText="Filter ExpandColumn column">
                            <HeaderStyle Width="20px" />
                        </ExpandCollapseColumn>
                        <EditFormSettings>
                            <EditColumn FilterControlAltText="Filter EditCommandColumn column">
                            </EditColumn>
                        </EditFormSettings>
                        <Columns>
                            <Telerik:GridBoundColumn HeaderText="Suggested Action" 
                                DataField="Suggested Action" ItemStyle-Width="35%" >
                                <ItemStyle Width="35%" />
                            </Telerik:GridBoundColumn>
                            <Telerik:GridBoundColumn HeaderText="Assigned To" 
                                DataField="Assigned To" ItemStyle-Width="8%" >
                                <ItemStyle Width="8%" />
                            </Telerik:GridBoundColumn>
                            <Telerik:GridBoundColumn HeaderText="Action Created Date" 
                                DataField="Action Created Date" ItemStyle-Width="8%" >
                                <ItemStyle Width="8%" />
                            </Telerik:GridBoundColumn>
                            <Telerik:GridBoundColumn HeaderText="Completed Date" DataField="Completed Date" ItemStyle-Width="8%" >
                                <ItemStyle Width="8%" />
                            </Telerik:GridBoundColumn>
                            <Telerik:GridBoundColumn HeaderText="Notes" DataField="Resolution Taken" ItemStyle-Width="35%" >
                                <ItemStyle Width="35%" />
                            </Telerik:GridBoundColumn>
                            <Telerik:GridBoundColumn HeaderText="Request Status" DataField="Request Status" ItemStyle-Width="8%" >
                                <ItemStyle Width="8%" />
                            </Telerik:GridBoundColumn>
                        </Columns>
                    </Telerik:GridTableView>
                </DetailTables>
                <EditFormSettings>
                    <EditColumn FilterControlAltText="Filter EditCommandColumn column">
                    </EditColumn>
                </EditFormSettings>
                <PagerStyle Mode="NumericPages" />
            </MasterTableView>
            <FilterMenu EnableImageSprites="False">
            </FilterMenu>
            <HeaderContextMenu CssClass="GridContextMenu GridContextMenu_Default">
            </HeaderContextMenu>
        </Telerik:RadGrid>
    </Telerik:RadAjaxPanel>
</div>
<div id="buttonPanel">
    <asp:Label ID="lblExport" runat="server" Text="Export to PDF: "></asp:Label>
    <asp:ImageButton ID="btnExportPDF" runat="server" AlternateText="Export to PDF" 
        ImageUrl="~/_layouts/images/DEP.PMIS.Project.Dashboard/pdficon_large.png" 
        onclick="btnExportPDF_Click" />
    <br />
</div>
<div id="errorPanel">
    <br />
    <asp:Panel ID="ErrorPanel" runat="server" Visible="true">
        <asp:Label ID="lblerror" runat="server" ForeColor="Red"></asp:Label>
    </asp:Panel>
</div>

using System;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Configuration;
using System.Data;
using System.Data.SqlClient;
  
using Microsoft.SharePoint;
using Telerik.Web.UI;
  
using DEP.PMIS.Common;
using DEP.PMIS.Entityframework;
using DEP.PMIS.CPortalWebParts.Code;
  
namespace DEP.PMIS.Project.Dashboard.IssuesAndActionsDisplay
{
    /// <summary>
    /// The issues and actions web part has a Telerik RadGrid with a Master/Detail table arrangment
    /// To get the master/detail the DetailTableDataBind bind event is needed.
    /// (Attempts to use Telerik's automatic capabilities didn't work)
    /// </summary>
    public partial class IssuesAndActionsDisplayUserControl : UserControl
    {
        IssuesAndActions _IssuesAndActions;
        private IProjectID _projectInfo;
  
        private SPWeb _projectWeb;
        private bool _shouldDispose;
  
        /// <summary>
        /// Called by the web part when the selected project changes (CPortal)
        /// </summary>
        public IProjectID ProjectInfo
        {
            set
            {
                _projectInfo = value;
                RadGrid1.Rebind();
            }
        }
  
        protected void Page_Load(object sender, EventArgs e)
        {
            _IssuesAndActions = new IssuesAndActions();
  
            if (!Page.IsPostBack)
            {
                  
            }
        }
  
        protected void RadGrid1_PreRender(object sender, EventArgs e)
        {
            if (!Page.IsPostBack)
            {
                // Uncomment to expand the first item by default
                //RadGrid1.MasterTableView.Items[0].Expanded = true;
            }
        }
  
        /// <summary>
        /// Called when the detail table is bound to data. Sets the Actions grid's data
        /// </summary>
        /// <param name="source"></param>
        /// <param name="e"></param>
        protected void RadGrid1_DetailTableDataBind(object source, Telerik.Web.UI.GridDetailTableDataBindEventArgs e)
        {
            try
            {
                OpenWeb();
                GridDataItem dataItem = (GridDataItem)e.DetailTableView.ParentItem;
                if (e.DetailTableView.Name == "Actions")
                {
                    string IssueID = dataItem.GetDataKeyValue("Issue ID").ToString();
                    e.DetailTableView.DataSource = _IssuesAndActions.Actions(_projectWeb, IssueID);
                      
                }
            }
            catch (Exception ex)
            {
                lblerror.Text = "Error binding Actions table: " + ex.Message + ": " + ex.StackTrace;
                lblerror.Visible = true;
            }
            finally 
            {
                if (_projectWeb != null && _shouldDispose)
                {
                    _projectWeb.Dispose();
                }
            
        }
  
  
        protected void Page_Init(object sender, EventArgs e)
        {
            RadGrid1.NeedDataSource += new GridNeedDataSourceEventHandler(RadGrid1_NeedDataSource);
        }
  
        protected void RadGrid1_NeedDataSource(object sender, GridNeedDataSourceEventArgs e)
        {
            lblerror.Text = "";
  
            try
            {
                OpenWeb();
                RadGrid1.DataSource = _IssuesAndActions.IssuesActions(_projectWeb);
  
            }
            catch (Exception ex)
            {
                lblerror.Text = "Error binding Issues data: " + ex.Message + ": " + ex.StackTrace;
                lblerror.Visible = true;
            }
            finally
            {
                if (_projectWeb != null && _shouldDispose)
                {
                    _projectWeb.Dispose();
                }
            }
        }
  
        /// <summary>
        /// Called once for each row in the data grid.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        protected void RadGrid1_ItemDataBound(object sender, GridItemEventArgs e)
        {
            try
            {
                if (e.Item is GridDataItem)
                {
                    GridDataItem item = (GridDataItem)e.Item;
                    if (item.DataItem is DataRowView)
                    {
                        DataRowView view = (DataRowView)item.DataItem;
  
                        // Install the URL for the hyperlink column
                        // (Only do this for the Issues table)
                        if (view.Row.Table.TableName == "Issues")
                        {
                            TableCell cell = ((GridDataItem)e.Item)["Issue ID"];
                            HyperLink link = (HyperLink)cell.Controls[0];
  
                            DataRowView rowView = (DataRowView)e.Item.DataItem;
                            DataRow row = rowView.Row;
                            string url = row["Form URL"].ToString();
                            string issueID = row["Issue ID"].ToString();
  
                            link.NavigateUrl = url;
                            link.Text = issueID;
                        }
                    }
                }
  
            }
            catch (Exception ex)
            {
                lblerror.Text = "Error binding data to Issue row: " + ex.Message + ": " + ex.StackTrace;
                lblerror.Visible = true;
            }
        }
  
        protected void btnExportPDF_Click(object sender, ImageClickEventArgs e)
        {
            RadGrid1.MasterTableView.HierarchyDefaultExpanded = true;
            RadGrid1.ExportSettings.FileName = "Issues and Actions for " + SPContext.Current.Web.Name;
            RadGrid1.MasterTableView.ExportToPdf();
        }
  
        protected void RadGrid1_PdfExporting(object sender, GridPdfExportingArgs e)
        {
  
        }
  
        protected void RadGrid1_ItemCommand(object sender, GridCommandEventArgs e)
        {
            if (e.CommandName == RadGrid.ExpandCollapseCommandName)
            {
                if (e.Item.Expanded == true)
                    e.Item.Expanded = false;
                else
                    e.Item.Expanded = true;
            }
        }
  
        /// <summary>
        /// Opens the SPWeb where the Issues and Actions are found
        /// This could be the current web or, if the Project Info connecter was set, the 
        /// web will be named there.
        /// </summary>
        /// <remarks>
        /// Note that if we use OpenWeb, we need to dispose of things later on.
        /// </remarks>
        private void OpenWeb()
        {
            // Look for the project ID in the Project Info (could be set if part is used in CPortal)
            if (_projectInfo != null)
            {
                _projectWeb = SPContext.Current.Site.OpenWeb(_projectInfo.Name);
                _shouldDispose = true;
  
            }
            else
            {
                // Otherwise assume current site is a project site
                _projectWeb = SPContext.Current.Web;
                _shouldDispose = false;
            }
        }
    }
}
Tsvetoslav
Telerik team
 answered on 10 Aug 2012
1 answer
93 views
$find("<%= RadAjaxManager1.ClientID %>").ajaxRequest("SelectedIndexChanged"); 

 

How do I get the selected row orderid

    protected void RadAjaxManager1_AjaxRequest(object sender, AjaxRequestEventArgs e) 
        { 
            //string[] args = e.Argument.Split('?')[1].Split('!'); 
            GridViewRow row = RadGrid1.Rows[e]; 
            if (e.Argument == "SelectedIndexChanged") 
            { 
                 //Label1.Text = (e.Item as GridDataItem)["OrderID"].Text; 
                if (RadGrid1.Items.Count == 0) return;
Shinu
Top achievements
Rank 2
 answered on 10 Aug 2012
1 answer
699 views
Is there any way to get the original file path of a file that was selected for async upload?  This is for an internal application where our users can upload files to the sytem.  Basically I want to be able to grab the original file location from a user's machine to store as a field in the database.  Thanks.
Princy
Top achievements
Rank 2
 answered on 10 Aug 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?