Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
99 views
Hi,
Since onResponseEnd does not seems to be called when an ajax request fails (for any reasons, like a network drop), is there a way to give a feedback to the user that something has gone wrong ?

Thanks a lot.
Shinu
Top achievements
Rank 2
 answered on 07 Oct 2010
3 answers
180 views
Good day!
I have two menu's: First one and Second one.
First The SecondOne is empty.
When I click on FirstMenuItem, I add items to the Second one. If FirstMenuItem has NavigateUrl, a NavigateUrl page opens and there are no Items in the SecondOne menu =( How can I keep them still aftet NavigateUrl redirect?
lina fetisova
Top achievements
Rank 1
 answered on 07 Oct 2010
2 answers
445 views

Hi,
I'm opening a popup with this code:

 

window.radopen(

 

'../PopUp/PopUpLinee.aspx', 'PopUpPiccola');

To pass arguments to the popup i use this javascript function:
 

 

 

 

function OnClientShow(radWindow) {   

 

 

var oText = document.getElementById('<%=hfdRepartoSelezionato.ClientID%>').value;
var arg = new Object(); 

 

 

arg.IdReparto = oText;

arg.IdTurno = "

 

1" 

 

 

radWindow.argument = arg;

}

At this point everithing works fine, but i don't know how to get this arguments when the popuplinee is opened.
Wich event I've to use to "see" the arguments?.
I need to put this arguments in two texboxes inside the popup.

Thank you !!!


 

 

 

 

 

 

archimede
Top achievements
Rank 1
 answered on 07 Oct 2010
1 answer
77 views
Looking for a way to open an external page in a particular RadPane from a Tab selection...Is it possible, is there a sample somewhere?

thanks in advance
Shinu
Top achievements
Rank 2
 answered on 07 Oct 2010
3 answers
169 views
Hello ,

  I am trying to access controls in an edit form to render the visibility of certain controls I tried the following but cannot find the controls ,

Public Sub RadGrid1_ItemCommand(ByVal source As Object, ByVal e As GridItemEventArgs) Handles RadGrid1.ItemEvent
        If TypeOf (e.Item) Is GridEditFormInsertItem Then
            Dim item As GridEditFormInsertItem = CType(e.Item, GridEditFormInsertItem)
            Dim panel As Panel = DirectCast(item.FindControl("Panel1"), Panel)
            Dim cmbDataType As RadComboBox = DirectCast(item.FindControl("DataTypeDropDown"), RadComboBox)
            If cmbDataType.SelectedValue = "Choice" Then
                panel.Visible = True
            Else
                panel.Visible = False
            End If
        End If



what would be the proper method to access the controls?
Princy
Top achievements
Rank 2
 answered on 07 Oct 2010
1 answer
76 views
We have .net framework 2.0 Ajax extension 1.0.  If I install .net framework, will it cause problem?
Stanimir
Telerik team
 answered on 07 Oct 2010
3 answers
93 views

Refering to the demo:
http://demos.telerik.com/aspnet-ajax/controls/examples/integration/gridandmenu/defaultcs.aspx?product=grid

and using the Hierarchical data feature of RadGrid, I am trying to have context menu on the master and the details, but i wasn't able to get the selected index and the selected ID.

function CarModel_RowContextMenu(sender, eventArgs) {
                var menu = $find('UC_Splitter_CarModel_List_Content_CarModel_RadContextMenu');
                var evt = eventArgs.get_domEvent();
  
                if (evt.target.tagName == "INPUT" || evt.target.tagName == "A") {
                    return;
                }
  
                if (eventArgs.get_tableView().get_name() == "Models") {
                    alert('child');
                    //get the selected datakey value
                    //
                    //
                }
                else {
                    var index = eventArgs.get_itemIndexHierarchical();
                    var key = sender.get_masterTableView().get_dataItems()[index].getDataKeyValue("ID");
                    CarModelSetKeyValue(index, key);
  
                    sender.get_masterTableView().selectItem(sender.get_masterTableView().get_dataItems()[index].get_element(), true);
  
                    menu.show(evt);
  
                    evt.cancelBubble = true;
                    evt.returnValue = false;
  
                    if (evt.stopPropagation) {
                        evt.stopPropagation();
                        evt.preventDefault();
                    }
                }
            }


please i need help in this issue urgently.
Tsvetina
Telerik team
 answered on 07 Oct 2010
1 answer
73 views
I am currenlty utilizing the "EmptyMessage" property of a RadTextBox. There is also a checkbox on the page that enables the RadTextBox when clicked. If the user hovers his mouse over the RadTextBox before it is enabled, the user can then type in text and the empty message remains in place in addition to the user input. I was also able to produce this behavior on the demo site (http://demos.telerik.com/aspnet-ajax/input/examples/radtextbox/firstlook/defaultcs.aspx) if I refreshed the page with my pointer over the control and started typing before render is complete. The style also remains in the EmptyMessage style, so when you're typing it is grayed italics text. This behavior is unacceptable to my client. Any fixes/suggestions?

Thanks,
Dean
Dimo
Telerik team
 answered on 07 Oct 2010
3 answers
183 views

I have had to move a web application from one server to a new one.  My intention was to just copy the deployed application over to the new IIS structure.  The app code has not changed.  Both servers are Windows 2008 SP2:  the old server had IIS 7 and the new server has IIS 7.5

I am now getting this error below as a javascript error.
Webpage error details
Message: Sys.WebForms.PageRequestManagerServerErrorException: Object reference not set to an instance of an object.
Line: 6
Char: 62099
Code: 0
URI: http://webserver/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d3.5.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3ad0c4ca6e-6b5d-49b6-922d-5244924fb100%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%3aen-US%3a30afb63f-e6ac-41db-9851-11879733de0a%3a16e4e7cd%3af7645509%3a22a6274a%3aed16cbdc%3a24ee1bba%3ae330518b%3a1e771326%3a8e6f0d33%3a6a6d718d%3a854aa0a7%3a874f8ea2%3a5a6d9d23%3a58366029%3aaa288e2d%3ab7778d6c

This is my web.config


<?xml version="1.0"?>  
<configuration> 
    <configSections> 
        <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">  
            <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">  
                <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>  
                <sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">  
                    <section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere"/>  
                    <section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>  
                    <section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>  
                    <section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>  
                </sectionGroup> 
            </sectionGroup> 
        </sectionGroup> 
 </configSections> 
    <appSettings> 
        <add key="ChartHttpHandler" value="Storage=memory;Timeout=200;Url=~/temp/;"/>  
    </appSettings> 
    
      
    <system.web> 
        <compilation debug="true">  
            <assemblies> 
                <add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>  
                <add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>  
                <add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>  
                <add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>  
              
                <add assembly="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>  
                <add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>  
                <add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>  
                <add assembly="System.Web.Extensions.Design, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/></assemblies> 
        </compilation> 
        <pages> 
            <controls> 
                <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>  
                <add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>  
                <add tagPrefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI"/>  
            </controls> 
        </pages> 
 
        <authentication mode="Windows"/>  
        <identity impersonate="true" />   
        <customErrors mode="Off"/>    
 
<httpHandlers> 
   <remove path="*.asmx" verb="*"/>  
   <add path="*.asmx" verb="*" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/>  
   <add path="*_AppService.axd" verb="*" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/>  
   <add path="ScriptResource.axd" verb="GET,HEAD" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/>  
   <add path="ChartImage.axd" verb="*" type="Telerik.Web.UI.ChartHttpHandler" validate="false"/>  
   <add path="Telerik.Web.UI.SpellCheckHandler.axd" verb="*" type="Telerik.Web.UI.SpellCheckHandler" validate="false"/>  
   <add path="Telerik.Web.UI.DialogHandler.aspx" verb="*" type="Telerik.Web.UI.DialogHandler" validate="false"/>  
   <add path="Telerik.RadUploadProgressHandler.ashx" verb="*" type="Telerik.Web.UI.RadUploadProgressHandler" validate="false"/>  
   <add path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource" validate="false"/>  
  </httpHandlers> 
        <httpModules> 
            <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>  
            <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule"/>  
            <add name="RadCompression" type="Telerik.Web.UI.RadCompression"/>  
        </httpModules> 
        <httpRuntime maxRequestLength="7168" executionTimeout="200"/>  
    </system.web> 
    <system.codedom> 
        <compilers> 
            <compiler language="c#;cs;csharp" extension=".cs" warningLevel="4" type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">  
                <providerOption name="CompilerVersion" value="v3.5"/>  
                <providerOption name="WarnAsError" value="false"/>  
            </compiler> 
            <compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" warningLevel="4" type="Microsoft.VisualBasic.VBCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">  
                <providerOption name="CompilerVersion" value="v3.5"/>  
                <providerOption name="OptionInfer" value="true"/>  
                <providerOption name="WarnAsError" value="false"/>  
            </compiler> 
        </compilers> 
    </system.codedom> 
    <!--   
        The system.webServer section is required for running ASP.NET AJAX under Internet  
        Information Services 7.0.  It is not necessary for previous version of IIS.  
    --> 
    <system.webServer> 
        <validation validateIntegratedModeConfiguration="false"/>  
        <modules> 
            <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"/>  
            <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule"/>  
            <add name="RadCompression" type="Telerik.Web.UI.RadCompression"/>  
        </modules> 
        <handlers> 
            <remove name="WebServiceHandlerFactory-Integrated"/>  
            <remove name="ScriptHandlerFactory"/>  
            <remove name="ScriptHandlerFactoryAppServices"/>  
            <remove name="ScriptResource"/>  
            <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" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>  
            <add name="ChartImage_axd" path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" preCondition="integratedMode,runtimeVersionv2.0"/>  
            <add name="Telerik_Web_UI_SpellCheckHandler_axd" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" preCondition="integratedMode,runtimeVersionv2.0"/>  
            <add name="Telerik_Web_UI_DialogHandler_aspx" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" preCondition="integratedMode,runtimeVersionv2.0"/>  
            <add name="Telerik_RadUploadProgressHandler_ashx" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" preCondition="integratedMode,runtimeVersionv2.0"/>  
            <add name="Telerik_Web_UI_WebResource_axd" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" preCondition="integratedMode,runtimeVersionv2.0"/>  
        </handlers> 
        <security> 
            <requestFiltering> 
                <requestLimits maxAllowedContentLength="1340032"/>  
            </requestFiltering> 
        </security> 
    </system.webServer> 
    <runtime> 
        <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">  
            <dependentAssembly> 
                <assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35"/>  
                <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/>  
            </dependentAssembly> 
            <dependentAssembly> 
                <assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35"/>  
                <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/>  
            </dependentAssembly> 
        </assemblyBinding> 
    </runtime> 
</configuration> 


There is a double hop involved and kerberos appears to be working.  Fiddler shows no errors.  Can you help me with this issue?  Why would it not run in IIS 7.5? 

Thanks,
Miche
Pavel
Telerik team
 answered on 07 Oct 2010
1 answer
62 views
Hi all,

I need to get DataKeyValue from ItemCommand event of Radgrid and need to pass as input parameter in ObjectDataSource's Selecting event like 
            obj.EmpID= EmpID (runtime Value from ItemCommand)            
            e.InputParameters["obj"] = obj

So that the Nested DetailView should be as per that specifc row of Radgrid.

Here i am getting Key from ItemCommand, but unable to pass that key dynamically to ObjectDatasource, because both the events get call at different time interval.

Or i should try different approach.
Please help me on this regard.
arun
Top achievements
Rank 1
 answered on 07 Oct 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?