Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
122 views
Sum Aggregate function not working on column with dataype long . Any idea ?
AG
Top achievements
Rank 1
 answered on 18 May 2011
1 answer
619 views
Hi everyone, i've been using radgrid for a couple of days now and i'm suppose to make an application using a radgrid with detailsview on each line. When i'll be clicking on an item from the grid, there will open the detailsview inside the grid. Actually i would like to make something similar to this application.

http://demos.telerik.com/aspnet-ajax/grid/examples/hierarchy/nestedviewtemplate/defaultcs.aspx

The only thing is that i would like to do it programmatically not from asp file.

So can you please tell me what do i need to do to make it work.
Vasil
Telerik team
 answered on 18 May 2011
6 answers
173 views
Hi

I have had to add some custom values to the available languages in the dictionary drop down list, however I need to make the drop downs width much wider as the descriptions I have used for the languages look squashed.

I've been unable to find any help topics on this apart from trying to apply the popup width property to the control itself but this did not change the width.

I have attached a picture with an example of the drop down I am using and ideally would like the width to match the longest description.

Regards,
Jonathan

 
Rumen
Telerik team
 answered on 18 May 2011
2 answers
90 views
Hi

I have a page with three grid et I want to associate to them a differente contextMenu. In fact, I want the first grid to add the item "add", "Edit" and "Delete" and the two others grid to contain "Edit" and "Delete". Seem pretty easy to do to me, but I'm unable to know wich grid had been clicked. I alreary tried this demo, but it didn't help this much, cause this demo work with only one grid. May someone help me ? Thanks

David
David
Top achievements
Rank 1
 answered on 18 May 2011
1 answer
126 views
Hello,

I am trying to change the text of a textbox from an onchange event from another tab.

In other words, I need to get out of the tab where the javascipt is located and in to another tab and I can't seem to do so.

The RadTabStrip is populated by ascx files inside the same directory.

Thanks for your time.
Dimitar Terziev
Telerik team
 answered on 18 May 2011
1 answer
161 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
303 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
568 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
204 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
143 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?