Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
172 views

I need to make a javascript in the checkbox is selected to place the textbox on. Thank you for your help.

I have the following: 
 <telerik:RadGrid ID="RadGrid_EquiposSolicitados" runat="server" AllowSorting="True"
                                AutoGenerateColumns="False" GridLines="None" Skin="WebBlue" Width="350px" Visible="true">
                                <MasterTableView>
                                    <CommandItemSettings ExportToPdfText="Export to Pdf" />
                                    <RowIndicatorColumn FilterControlAltText="Filter RowIndicator column">
                                    </RowIndicatorColumn>
                                    <ExpandCollapseColumn FilterControlAltText="Filter ExpandColumn column">
                                    </ExpandCollapseColumn>
                                    <Columns>
                                        <telerik:GridTemplateColumn>
                                            <ItemTemplate>
                                                <asp:CheckBox ID="CheckBox1" runat="server" />
                                            </ItemTemplate>
                                        </telerik:GridTemplateColumn>
                                        <telerik:GridBoundColumn DataField="NombreEquipo" HeaderText="Equipos" UniqueName="column">
                                        </telerik:GridBoundColumn>
                                        <telerik:GridTemplateColumn HeaderText="Cantidad" UniqueName="Column3">
                                            <ItemTemplate>
                                                <asp:TextBox ID="TextBoxCantidadEquipo" runat="server" Width="40px" Enabled="false"></asp:TextBox>
                                                <cc1:FilteredTextBoxExtender ID="FilteredTextBoxExtender1" runat="server" TargetControlID="TextBoxCantidadEquipo"
                                                    FilterType="Numbers,Custom" ValidChars="+-=/+().">
                                                </cc1:FilteredTextBoxExtender>
                                            </ItemTemplate>
                                        </telerik:GridTemplateColumn>
                                    </Columns>
                                    <EditFormSettings>
                                        <EditColumn FilterControlAltText="Filter EditCommandColumn column">
                                        </EditColumn>
                                    </EditFormSettings>
                                </MasterTableView>
                            </telerik:RadGrid>
ALBERT
Top achievements
Rank 1
 answered on 18 May 2011
1 answer
110 views

Hi ,
I want to ask about the following RadGrid problem : when I resize the Gridcolumn usinig in my application I get the one of the following errors

 

Error: Sys.InvalidOperationException: Handler was not added through the Sys.UI.DomEvent.addHandler method. 
and often when i try once again after it 

 

Error: 'this.ColGroup.Cols' is null or not an object

offten with this , the lines of  the resized column border are staing and displayed in old place in grid, the grid is binded with ajax.

Part of ClientSettings bibded with resize look like this

 

 

 

 

 

<ClientSettings EnablePostBackOnRowClick ="True">
<Resizing AllowColumnResize="True" />

 


It's a very big problem for me, It occurs in both ie versions - ie 8 and ie 9,
can anbody help me with this?
Regards,
Tomek
Maria Ilieva
Telerik team
 answered on 18 May 2011
1 answer
69 views

Hi ,

 I want to ask about the following RadGrid problem : when I resize the column using mouse in my application I get the one of the following errors

Error: Sys.InvalidOperationException: Handler was not added through the Sys.UI.DomEvent.addHandler method.
 or

 Error: 'this.ColGroup.Cols' is null or not an object

offten with this , the old lines of column border are staing and displayed in grid, the grid is binded with ajax. 

Part of ClientSettings  bibded with resize look like this

 

 

<ClientSettings EnablePostBackOnRowClick ="True"
  <Resizing AllowColumnResize="True" />

 


It's a very big problem for me, It occurs in both ie versions - ie 8 and ie 9,
can anbody help me with this?

 

 

 

 
Regards,
Tomek

 

 

 

Maria Ilieva
Telerik team
 answered on 18 May 2011
1 answer
66 views
Is there a way to replace the dock border rather than add another visible one ?

I have set some border properties of the radDock, so I see my darker/thicker/colored border all around the dock
BUT I also see a light gray line bottom border just inside my border.
See picture
Pero
Telerik team
 answered on 18 May 2011
1 answer
56 views
Hello. We have a third party application which uses RadUpload and which we are trying to run on an IIS 7 site in integrated mode. We have verified that the component is registered (by following steps at this URL http://www.telerik.com/support/kb/aspnet-ajax/upload/906-ajax-callback-error.aspx). We have also verified that we have the proper tags in the <system.webServer> section (see below). However we get the attached error message when attempting to upload.

The <system.webServer> tag is surrounded by a <location path="." inheritInChildApplications="false"> tag. This is to prevent a sub-virtual directory from inheriting modules and handlers noted in system.webServer. Has anyone else reported an issue with this configuration and if so, do you have any work arounds? Thanks!

  <location path="." inheritInChildApplications="false">
  <system.webServer>
    <modules>
      ...
      <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule, Telerik.Web.UI" preCondition="integratedMode,runtimeVersionv2.0" />
      ...
    </modules>
    <handlers>
      ...
      <add name="Telerik.RadUploadProgressHandler.ashx_*" path="Telerik.RadUploadProgressHandler.ashx" verb="*" type="Telerik.Web.UI.RadUploadProgressHandler, Telerik.Web.UI" preCondition="integratedMode,runtimeVersionv2.0" />
       ...
    </handlers>
   </system.webServer>
  </location>
Anita
Top achievements
Rank 1
 answered on 18 May 2011
6 answers
634 views
We are moving our .NET application to a new Windows 2008 server. When we move the code, we get this error:

RadUpload Ajax Callback error. Source url was not found

/Telerik.RadUploadProgressHandler.aspx?RadUrid=b157....

I searched your knowledgebase and have confirmed that our web.config does have these entries:

<appSettings>
 <add key="Telerik.RadUpload.ChunkSize" value="5000" />
 </appSettings>
<system.web>
    <httpHandlers>
      <remove verb="*" path="*.asmx"/>
<add verb="*" path="Telerik.RadUploadProgressHandler.aspx"
        type="Telerik.WebControls.RadUploadProgressHandler, RadUpload.Net2" />
      <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
      <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
      <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>
       </httpHandlers>

    <httpModules>
      <add name="RadUploadModule" type="Telerik.WebControls.RadUploadHttpModule, RadUpload.Net2"/>
      <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
    </httpModules>
</appSettings>

Anita
Top achievements
Rank 1
 answered on 18 May 2011
1 answer
143 views
I have a page which displays in a RadWindow.

This page does not have a RadWindowManager on it but I need to fire a radconfirm from it.

I thought I could be clever and write this ...
GetRadWindow().BrowserWindow.radconfirm("Are you sure you want to remove this document?", removeDocument);
and it works. Almost.

The radconfirm appears behind the RadWindow.

Is there any way, short of having to include a RadWindowManager on my popup page, of getting the radconfirm on top?

-- 
Stuart
Marin Bratanov
Telerik team
 answered on 18 May 2011
5 answers
53 views
Suppose you have a dialog with several buttons and other controls that initiate an AJAX request. There is one element in the dialog that might need to be updated by any AJAX request, Do I have to specify this element as the target for each initiator? Or is there some way for saying "whatever AJAX request is done, this element needs to be updated in any case"?

In this case the element in question is some area containing an error message. Most of the time it is hidden, but if any exception is thrown on some AJAX request, the code must make the element visible and fill it with the error message.

Michael G. Schneider
mgs
Top achievements
Rank 1
 answered on 18 May 2011
4 answers
128 views
I want to popup an alert if editor content has been changed before user leave the page. I couldn't find any way to detect it.
Rumen
Telerik team
 answered on 18 May 2011
1 answer
180 views
Hi,
Iam adding items to radcombobox  in javascript method which is called in OnKeyUp event of radcombobox.the problem is items are adding but not visible
my POC is as follows:

<script type="text/javascript">
    function dropdownBindByMatchedText(sender, args) {

        var comboboxSearch = $find("<%= rdcmbSearch.ClientID %>");
        comboboxSearch.clearItems();
        var item1 = new Telerik.Web.UI.RadComboBoxItem();
        var item2 = new Telerik.Web.UI.RadComboBoxItem();
        var item3 = new Telerik.Web.UI.RadComboBoxItem();
        item1.set_text("a");
        item2.set_text("b");
        item3.set_text("c");
        comboboxSearch.get_items().add(item1);
        comboboxSearch.get_items().add(item2);
        comboboxSearch.get_items().add(item3);
    }
</script>
    <telerik:RadComboBox ID="rdcmbSearch" OnKeyUp="dropdownBindByMatchedText()"
        EnableLoadOnDemand="true" Height="200px" Width="220px" DropDownWidth="220px"
        wrap="false" runat="server" >
    </telerik:RadComboBox>


can anybody help me?
Princy
Top achievements
Rank 2
 answered on 18 May 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?