Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
147 views

I am opening up an .aspx page with a radgrid on it. I click a button and it runs the 4 lines of code below.

 

rgExportSummary.ExportSettings.IgnorePaging = True
rgExportSummary.ExportSettings.Excel.Format = DirectCast([Enum].Parse(GetType(GridExcelExportFormat), "ExcelML"), GridExcelExportFormat)
rgExportSummary.ExportSettings.ExportOnlyData = True
rgExportSummary.ExportSettings.OpenInNewWindow = True
rgExportSummary.MasterTableView.ExportToExcel()

 

When I use the window.open javascript to open this aspx page and then click the button to run the above code, I get the export for the grid.

When I use the window.ShowModalDialog javascript to open the aspx page and then click the button to run the above code, I do not get any export or response.

 What am I doing wrong or missing?

Pavlina
Telerik team
 answered on 14 Oct 2015
6 answers
1.1K+ views
Hi telerik

I use a radtextbox and i want to validate user input of following format
123#, 5677#. User can enter numbers followed by a mandatory #. How to validate this with regex?

Any suggestion
Lovella
Sankalp
Top achievements
Rank 1
 answered on 14 Oct 2015
1 answer
88 views
I want to use the lightbox as a way for users as a way to select the image they want ​from the light box.  I thought this would help: http://www.telerik.com/forums/close-lightbox-on-image-click . However, that seems to create just a single item with a single image, and I need the javascript to apply to every image. Can this be done?
Viktor Tachev
Telerik team
 answered on 14 Oct 2015
4 answers
290 views
Hi,

I'm having an issue with RadDropDownTable when placed in a table.. When I select/check multiple leaves in the control, the container of the control expands/shortens based on the selection .. Any idea on how to resolve this?

Here is the code im using.

<div>
        <table style="background: lightblue;">
                <tr>
                    <td>
                        <span class="Label"><b>Module: </b></span>
                       <telerik:RadDropDownTree runat="server" ID="ModuleDropDownTree" CheckBoxes="SingleCheck"
                            Width="150px" EnableViewState="False" DataFieldID="ModuleID" DataFieldParentID="parentModuleID" DataSourceID="SqlDataSource1" DataTextField="Name" DataValueField="ModuleID">
                       </telerik:RadDropDownTree>
                    </td>
                    <td>
                        <span class="Label"><b>Modes: </b></span>
                        <asp:RadioButton ID="AutoCheckBox" Text="Automated" runat="server" AutoPostBack="false"/>
                        <asp:RadioButton ID="ManualCheckBox" Text="Manual" runat="server" AutoPostBack="false" />
                        <asp:RadioButton ID="AMCheckBox" Text="Both" runat="server" AutoPostBack="false" />
                    </td>
                    <td>
                        <asp:LinkButton runat="server" Text="Clear" ForeColor="White" />
                    </td>
                </tr>
            </table>
    </div>
Stephen
Top achievements
Rank 1
 answered on 14 Oct 2015
5 answers
282 views
I am using radgrid which list out data's. when clicking radgrid i will open one radwindow separately which contains the information of the selected row.
when any postback occurs like selecting second page or filter by column , page inside the radwindow opens in the radgrid page.
here Radgrid page missing....

Refer Screenshots for reference
Eyup
Telerik team
 answered on 14 Oct 2015
2 answers
130 views

We're having an issue after the last telerik updates and i'm wondering if this was intentional? And how do we get scrolling back?

 

I attached 2 screen shots newver.jpg is the latest Q3 telerik update we installed.

oldver.jpg is the Q1 update which by default scrolled.

nothing else has change don our controls 

Here is the aspx code:

<telerik:RadComboBox ID="cbSite" runat="server">  </telerik:RadComboBox>

 

Code behind is untouched, this was found by our QA team. Is there a simple style fix we can apply?

Nencho
Telerik team
 answered on 14 Oct 2015
3 answers
170 views
Hi,

I have put together a nice, codeless, RadGrid, which uses a GridDropDownColumn bound to an EntityDataSource for one of the columns. This works well, except that it seemed a bit slow to render the page.  Upon checking SQL Server, I can see that the EntityDataSource that the GridDropDownColumn is bound to is running its select statement for every single row that is displayed in the RadGrid :(

Is there any way round this or is the GridDropDownColumn essentially unusable in the real world?

Thanks,

Craig
Maria Ilieva
Telerik team
 answered on 14 Oct 2015
3 answers
199 views
HI, in your demos you have needdatasource and objectdatasource version of custom paging.  I need to use LinqDatasource and implement custom paging.  I have been trying it but with no lock.  can you pl advice.  thx
Radoslav
Telerik team
 answered on 14 Oct 2015
1 answer
227 views

I have 6 steps (with 5 sessions of classes and a Review and Submit step), each step has a gridview to list classes available to be taught in corresponding session.  The first column of each gridview is a TemplateField  with a checkbox so individuals can click to register for class.  The boxes are persistent across steps which is nice. When the user gets to the final step, I would like to have another gridview to list the classes they have selected from the previous 5 steps, just as a review before submitting.

I have build a dynamic DataTable to hold the users responses as the cycle through the wizard so I can display the classes they have selected on the last step before clicking finish.

I am having trouble accessing the checkbox in the gridview in each step.  Not sure which event to use and if I have to FindControl the gridview first then the checkbox, etc.

 

I tried using the NextButtonClick event, and SELECT CASE the RadWizard.ActiveStepIndex to determine what step they are on then using the following but to no avail.

 

Protected Sub RadWizardNextButtonClick(sender As Object, e As Telerik.Web.UI.WizardEventArgs) Handles radWizard.NextButtonClick
Select Case radWizard.ActiveStepIndex
Case 0
For Each item As GridViewRow In GridView1.Rows
Dim chk As CheckBox = DirectCast(item.FindControl("CheckBox1"), CheckBox)
If chk IsNot Nothing Then
Session1 = item.Cells(1).Text
End If
Next
Case 2
For Each item As GridViewRow In GridView2.Rows
Dim chk As CheckBox = DirectCast(item.FindControl("CheckBox1"), CheckBox)
If chk IsNot Nothing Then
Session2 = item.Cells(1).Text
End If
Next
Case 3
For Each item As GridViewRow In GridView3.Rows
Dim chk As CheckBox = DirectCast(item.FindControl("CheckBox1"), CheckBox)
If chk IsNot Nothing Then
Session3 = item.Cells(1).Text
End If
Next
Case 4......

Plamen
Telerik team
 answered on 14 Oct 2015
16 answers
412 views
Is there a way to load the Advanced Edit Template of the Scheduler without having to double click on an appointment?

I have tried the following:

RadScheduler1.Appointments.FindByID
RadScheduler1.ShowAdvancedEditForm(apt);

It displays the Advanced Edit Template, but then the Edit functionality of the page is lost.  When the same page is edited by clicking on an appointment, the edit functionality works.

Thanks

Gerrit

Plamen
Telerik team
 answered on 14 Oct 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?