Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
139 views
Is it possible to make a treeview with checkboxes, but only on certain levels?
like not on first and second level, but on 3 or 4 level/ or all other levels below second level.

Thanks
Princy
Top achievements
Rank 2
 answered on 18 May 2011
2 answers
299 views
Hi,

I am new to Rad controls. We have a requirement to open a E-mail form in a rad window.
Though I did succeed in opening the window uinsg RadWindowMananger and RadWinow.
I use  javascript  radopen("Mail.aspx", "RadWindow1") in my parent aspx file.
When the radwindow opens it displays a series of icons at the bottom of the rad window.
Please someone help with this.

Attached screen shot.


Dhanasekar
Top achievements
Rank 1
 answered on 18 May 2011
1 answer
543 views
Hi,

I am currently working with crystal report & i am using crystal report viewer & crystal report source. Crystal report viewer & Crystal report source that  i put in update panel because when we press "Next" button ( i.e crystal report viewer property ) it doesn't allow post back to page. But problem will occur when i press Export Option ( i.e crystal report viewer property )  to select file formate (PDF), will not be opened due to update panel.
I have already done  Research & development  on it  & i found one solution & i.e.  fire trigger (like below). 
<asp:PostBackTrigger ControlID="CrystalReportViewer1"  />


Page will be post back (that i don't want) & pop up export option (that i want), when i am going to write  this trigger "<asp:PostBackTrigger ControlID="CrystalReportViewer1"  />" . So if i do it like this it is not good for my project that each & every time postback.
 
If any one knows better option that while pressing next button page will not going to be postback every time and Export option (of crystal report viewer ) will pop up. Is there any script for it or other option.

Thank you,
Ronak

Code:
<asp:UpdatePanel ID="UpdatePanel2" runat="server" UpdateMode="Conditional" ChildrenAsTriggers="true"  >

          <Triggers>
           <asp:AsyncPostBackTrigger ControlID="btnCreateReport" EventName="Click" />
           <asp:PostBackTrigger ControlID="CrystalReportViewer1"  />
         </Triggers>

        <ContentTemplate>
        <div style="float: left;padding-left:30px;width:95%">
        <fieldset class="field">
                 <legend style="font-family: Calibri; color :Teal   ">Reports</legend> 
         <table width = "100%"  >
                 
                      <tr>
                          <td width = "20%">
                          
                              <asp:Label ID="lblCreatePreProcessing" runat="server" Font-Names="Calibri" 
                                  Text="Create Preprocessing Report :"></asp:Label>
                          
                              </td>
                              <td width = "80%">
                                  <asp:RadioButtonList ID="radbtnlistCreatePreProcessing" runat="server" 
                                      RepeatDirection="Horizontal" Font-Names="Calibri">
                                      <asp:ListItem>Yes</asp:ListItem>
                                      <asp:ListItem>No</asp:ListItem>
                                  </asp:RadioButtonList>
                              </td>
                              
                      </tr>
                 
                      <tr>
                          <td>
                              <asp:Label ID="lblError" runat="server"></asp:Label>
                          </td>
                      </tr>
                 
                      <tr>
                          <td>
                              <asp:Button ID="btn1" runat="server" Text="Button" />
                              &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
                              <asp:Button ID="btn2" runat="server" Text="Button" />
                          </td>
                              <td>
                              
                                  &nbsp;</td>
                      </tr>
                 
                      <tr>
                          <td align="center" width="100%">
                          <asp:Button ID="btnCreateReport" runat="server" Text="Generate Report" ValidationGroup="Save"
                           CssClass="ButtonClass" Width="150px"  Height="40px" Font-Names="Calibri" 
                                  Font-Size="Medium"  />
                                  &nbsp&nbsp&nbsp
                                  <asp:Button ID="btnCloseReport" runat="server" Text="Close Report" ValidationGroup="Save"
                           CssClass="ButtonClass" Width="150px"  Height="40px" Font-Names="Calibri" 
                                  Font-Size="Medium"  />
                        
                        <%--<asp:Button ID = "btnCreateReport" Text = "Create Report" runat = "server" />--%>
                        
                              &nbsp;&nbsp;
                        
                       
                         
                        
                          </td>
                      </tr>
                 
                      <tr>
                        <td align ="center"   width= "100%" >
                        
                            &nbsp;</td>
                      
                      </tr>      
                 
                 
                 </table>
                 <table width ="100%" >
                    <tr>
                    <td width ="2%">
                    
                    </td>
                    <td width = "2%">
                    
                    </td>
                    <td width = "2%">
                    
                    </td>
                    <td width = "2%">
                    
                    </td>
                     <td width = "82%">
                         
                      <CR:CrystalReportViewer ID="CrystalReportViewer1" runat="server" 
                AutoDataBind="true"    EnableViewState="True" Height="50px" Width="350px" 
                             HasGotoPageButton="False" HasViewList="False"   />
                
              <CR:CrystalReportSource ID="CrystalReport21" runat="server">
              <Report FileName="Reports\xyz.rpt">
              
              </Report>
              </CR:CrystalReportSource> 

                     </td>
                   </tr>
                 </table>
                        
      </fieldset>
    </div>    
    
   </ContentTemplate>
</asp:UpdatePanel>















Vinkel
Top achievements
Rank 1
 answered on 18 May 2011
2 answers
193 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
130 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
79 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
77 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
67 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
649 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
181 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?