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

I want to access UserControl element ex: textbox, checkbox, combobox...etc on ItemCommand event. I found some topic say can't do it. But, I hope someone can solve this. Thank all!

P/s: I have 4 button with custom command in usercontrol edit form. ItemCommand can do command, but can't access UserControl to retrieve value from control in it.

Eyup
Telerik team
 answered on 02 Aug 2016
1 answer
457 views
I've got a RadGrid with programmatically generated columns, including a variable number of column groups.
 Each of the column groups contains two/three columns, and I want to hide the columns along with the associated ColumnGroup.
Above the RadGrid I have a series of checkboxes, one for each column group. The goal is to have the user
 check or uncheck the boxes depending on what columns they wish to see. Currently I am setting the columns
' Display properties when a checkbox's checked value is changed by using 
radgrid.Columns.FindByUniqueName("columnName").Display.

And also tried radgrid.MasterTableView.ColumnGroups.FindGroupByName("colGroupname").Display = False but there is no 
Display property for that and the Visible property is ReadOnly. So I managed to hide ColumnGroup by applying
CSS class to hide the Column group.

But the export to excel is not reflecting the hidden group and also it reshuffles the columns into excel file.
So please suggest the option to hide the Column group into export file or any alternate option to achieve the same.
Eyup
Telerik team
 answered on 02 Aug 2016
1 answer
128 views

Hi,

 

I see this happening.

Markup is shown properly in the HTML view of the RadEditor, but is stripped when rendered on the page.

Here is my HTML as shown in the RadEditor:

<p><img alt="the other" src="/PublishingImages/Signing-4730x.jpg" /></p

Note the end tags on IMG when the page is rendered I get this:
<p><img alt="the other" src="/PublishingImages/Signing-4730x.jpg"></p>

 

Also see this old post from 2009

Is this issue still applicable on the latest version of the RADEditor?

 

Ps. I know the <img> tag is a self closing tag, so the latter html is still valid. see here

 

Thanks!

Regards,

John

Ianko
Telerik team
 answered on 02 Aug 2016
2 answers
107 views

Hi,

I used a sample demo for the scheduler that was posted in the forums that works with sql datasource. Everything works great but for some reason the Advanced Edit form will not register a click to Save or Cancel once the modal popup is open. The .aspx is bellow and i am not sure if im missing something.

 

Thanks

 

body>
    <form id="form1" runat="server">
    <div>
    
        <telerik:RadScriptManager ID="RadScriptManager1" Runat="server">
        </telerik:RadScriptManager>
    
    </div>
    <telerik:RadScheduler ID="RadScheduler1" runat="server" DataEndField="End" 
        DataKeyField="ID" DataRecurrenceField="RecurrenceRule" AdvancedForm-Modal="true" AdvancedForm-Enabled="true"
        DataRecurrenceParentKeyField="RecurrenceParentID" DataSourceID="SchedulerDataSource"
        DataDescriptionField="Description" 
        Height="700px"
        DataStartField="Start" DataSubjectField="Subject" Skin="Silk">
        <AdvancedForm Modal="true" />
        <TimelineView UserSelectable="false" />
        <ResourceTypes>
            <telerik:ResourceType DataSourceID="RoomsDataSource" ForeignKeyField="RoomID" 
                KeyField="ID" Name="Room" TextField="RoomName" />
        </ResourceTypes>
        <ResourceStyles>
            <telerik:ResourceStyleMapping Type="Room" ApplyCssClass="rsCategoryOrange" Text="Room 101" />
            <telerik:ResourceStyleMapping Type="Room" ApplyCssClass="rsCategoryGreen" Text="Room 102" />
            <telerik:ResourceStyleMapping Type="Room" ApplyCssClass="rsCategoryPink" Text="Room 201" />
            <telerik:ResourceStyleMapping Type="Room" ApplyCssClass="rsCategoryViolet" Text="Room 202" />
        </ResourceStyles>
    </telerik:RadScheduler>
    <asp:SqlDataSource ID="SchedulerDataSource" runat="server" 
        ConnectionString="<%$ ConnectionStrings:SchedulerConnectionString %>" 
        DeleteCommand="DELETE FROM [Appointments] WHERE [ID] = @ID" 
        InsertCommand="INSERT INTO [Appointments] ([Subject], [Start], [End], [RecurrenceRule], [RecurrenceParentID], [Description], [RoomID]) VALUES (@Subject, @Start, @End, @RecurrenceRule, @RecurrenceParentID, @Description, @RoomID)" 
        SelectCommand="SELECT [ID], [Subject], [Start], [End], [RecurrenceRule], [RecurrenceParentID], [Description], [RoomID] FROM [Appointments]" 
        
        UpdateCommand="UPDATE [Appointments] SET [Subject] = @Subject, [Start] = @Start, [End] = @End, [RecurrenceRule] = @RecurrenceRule, [RecurrenceParentID] = @RecurrenceParentID, [Description] = @Description, [RoomID] = @RoomID WHERE [ID] = @ID">
        <DeleteParameters>
            <asp:Parameter Name="ID" Type="Int32" />
        </DeleteParameters>
        <UpdateParameters>
            <asp:Parameter Name="Subject" Type="String" />
            <asp:Parameter Name="Start" Type="DateTime" />
            <asp:Parameter Name="End" Type="DateTime" />
            <asp:Parameter Name="RecurrenceRule" Type="String" />
            <asp:Parameter Name="RecurrenceParentID" Type="Int32" />
            <asp:Parameter Name="Description" Type="String" />
            <asp:Parameter Name="RoomID" Type="Int32" />
            <asp:Parameter Name="ID" Type="Int32" />
        </UpdateParameters>
        <InsertParameters>
            <asp:Parameter Name="Subject" Type="String" />
            <asp:Parameter Name="Start" Type="DateTime" />
            <asp:Parameter Name="End" Type="DateTime" />
            <asp:Parameter Name="RecurrenceRule" Type="String" />
            <asp:Parameter Name="RecurrenceParentID" Type="Int32" />
            <asp:Parameter Name="Description" Type="String" />
            <asp:Parameter Name="RoomID" Type="Int32" />
        </InsertParameters>
    </asp:SqlDataSource>
    <telerik:RadAjaxManager runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="RadScheduler1">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadScheduler1" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>
    <asp:SqlDataSource ID="RoomsDataSource" runat="server" 
        ConnectionString="<%$ ConnectionStrings:SchedulerConnectionString %>" 
        SelectCommand="SELECT [ID], [RoomName] FROM [Rooms]"></asp:SqlDataSource>
    </form>
</body>

zx10r
Top achievements
Rank 1
 answered on 01 Aug 2016
23 answers
954 views
Hello,

while trying to output the details using RadSchedular control to export to PDF"  getting follwing error.

The remote server returned an error: (401) Unauthorized.]
   System.Net.HttpWebRequest.GetResponse() +5376077
   Telerik.Web.UI.Scheduler.SchedulerExporter.GetStyleSheet(String url) +76
   Telerik.Web.UI.Scheduler.SchedulerExporter.RenderControl(Page page) +254
   Telerik.Web.UI.Scheduler.SchedulerExporter.PdfExportRenderForm(HtmlTextWriter nullWriter, Control form) +55
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +256
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +19
   System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +8679961
   System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +32
   System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) +51
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99
   System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer) +40
   Telerik.Web.UI.Scheduler.SchedulerExporter.PdfExportRenderPage(HtmlTextWriter nullWriter, Control page) +108
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +256
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +19
   System.Web.UI.Page.Render(HtmlTextWriter writer) +29
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1266

currently we are using the NTLM security on web application then error is occuring.
when we changed the security level to anonymous able to open the PDF document.

Request to assistance on the above issue to workout with NTLM secutity.

Thanks
Rajendra.k
PW
Top achievements
Rank 1
 answered on 01 Aug 2016
3 answers
137 views

I've got a RadGantt that is both an AjaxControl and an AjaxUpdatedControl in a RadAjaxManager.

The control and the Ajax Updates work fine for everything except for deleting a task.

Sometimes a delete works fine, but about 90% of the time I get a javascript error when the page is attempting to update.

'Unable to get property 'oldUpdatePanelIDs' of undefined or null reference'

is coming from function  _getPageLoadingEventArgs.

I don't understand why this doesn't happen all the time (or at all really), or why only on deletes.  What would be different about the call or returned values based on the function?  Anyone else seeing this behavior.

 

chris
Top achievements
Rank 1
 answered on 01 Aug 2016
2 answers
538 views
Currently, I am working on developing an ASP.Net page with VB.Net code-behind.  This new page is being designed using the RadPageLayout because it needs to have a good layout on Desktop PCs and Mobile devices

Right now I am having a problem of getting the columns to be all the way over to the left with only slight padding on the left when being displayed on a Desktop PC at 1920 x 1080 resolution.  But it looks good on the iPhone 6S.  I need it to look good on all devices.

Also I need help creating some space between the rows.  On the Desktop PC, the RadComboBoxes are right next to each other from 1 row to the next.

Please help!  Thanks!

Here is the code for the ASP.Net page:

<%@ Page Language="VB" AutoEventWireup="false" CodeFile="TestPage4.aspx.vb" Inherits="TestPage4" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Android Store</title>
    <style type="text/css">
        .comboboxlabel {
            color: white;
        }
        body {
            margin: 0;
            padding: 0;
        }
        html {
            font-size: 170%;
        }
        @media (min-width:60em){
            html {
                font-size: 90%
            }

        }
    </style>
    <meta name="viewport" content="width=device-width, initial-scale=1" />

</head>
<body style="background-color: #3A4459">
    <form id="form1" runat="server">

        <telerik:RadScriptManager runat="server" />

        <div>
        <telerik:RadPageLayout ID="Radpagelayout1" runat="server" GridType="Fluid" ForeColor="White" ShowGrid="true">
            <Rows>
                <telerik:LayoutRow>
                    <Columns>
                        <telerik:LayoutColumn Span="1" SpanMd="1" SpanSm="10">
                                Bay
                        </telerik:LayoutColumn>
                        <telerik:LayoutColumn Span="2" SpanMd="10" SpanSm="10">
                            <telerik:RadComboBox ID="rcbbBay" runat="server" MaxHeight="250px" AutoPostBack="true" Width="170px" RenderMode="Lightweight">
                                <Items>
                                    <telerik:RadComboBoxItem runat="server" Text="A - Bay" Value="A - Bay" />
                                    <telerik:RadComboBoxItem runat="server" Text="B - Bay" Value="B - Bay" />
                                    <telerik:RadComboBoxItem runat="server" Text="C - Bay" Value="C - Bay" />
                                    <telerik:RadComboBoxItem runat="server" Text="D - Bay" Value="D - Bay" />
                                    <telerik:RadComboBoxItem runat="server" Text="E - Bay" Value="E - Bay" />
                                    <telerik:RadComboBoxItem runat="server" Text="F - Bay" Value="F - Bay" />
                                    <telerik:RadComboBoxItem runat="server" Text="G - Bay" Value="G - Bay" />
                                </Items>
                            </telerik:RadComboBox>
                        </telerik:LayoutColumn>
                    </Columns>
                </telerik:LayoutRow>
                <telerik:LayoutRow>
                    <Columns>
                        <telerik:LayoutColumn Span="1" SpanMd="1" SpanSm="10">
                                Column
                        </telerik:LayoutColumn>
                        <telerik:LayoutColumn Span="2" SpanMd="10" SpanSm="10">
                            <telerik:RadComboBox ID="rcbbCol1" runat="server" MaxHeight="250px" Width="170px" RenderMode="Lightweight">
                            </telerik:RadComboBox>
                        </telerik:LayoutColumn>
                    </Columns>
                </telerik:LayoutRow>
                <telerik:LayoutRow>
                    <Columns>
                        <telerik:LayoutColumn Span="1" SpanMd="1" SpanSm="10">
                                Row
                        </telerik:LayoutColumn>
                        <telerik:LayoutColumn Span="2" SpanMd="10" SpanSm="10">
                            <telerik:RadComboBox ID="rcbbRow1" runat="server" MaxHeight="250px" Width="170px" RenderMode="Lightweight">
                                <Items>
                                    <telerik:RadComboBoxItem runat="server" Text="01" Value="01" />
                                    <telerik:RadComboBoxItem runat="server" Text="02" Value="02" />
                                    <telerik:RadComboBoxItem runat="server" Text="03" Value="03" />
                                    <telerik:RadComboBoxItem runat="server" Text="04" Value="04" />
                                    <telerik:RadComboBoxItem runat="server" Text="05" Value="05" />
                                    <telerik:RadComboBoxItem runat="server" Text="06" Value="06" />
                                    <telerik:RadComboBoxItem runat="server" Text="07" Value="07" />
                                    <telerik:RadComboBoxItem runat="server" Text="08" Value="08" />
                                    <telerik:RadComboBoxItem runat="server" Text="09" Value="09" />
                                    <telerik:RadComboBoxItem runat="server" Text="10" Value="10" />
                                    <telerik:RadComboBoxItem runat="server" Text="11" Value="11" />
                                    <telerik:RadComboBoxItem runat="server" Text="12" Value="12" />
                                    <telerik:RadComboBoxItem runat="server" Text="13" Value="13" />
                                    <telerik:RadComboBoxItem runat="server" Text="14" Value="14" />
                                    <telerik:RadComboBoxItem runat="server" Text="15" Value="15" />
                                    <telerik:RadComboBoxItem runat="server" Text="16" Value="16" />
                                    <telerik:RadComboBoxItem runat="server" Text="17" Value="17" />
                                    <telerik:RadComboBoxItem runat="server" Text="18" Value="18" />
                                    <telerik:RadComboBoxItem runat="server" Text="19" Value="19" />
                                    <telerik:RadComboBoxItem runat="server" Text="20" Value="20" />
                                    <telerik:RadComboBoxItem runat="server" Text="21" Value="21" />
                                    <telerik:RadComboBoxItem runat="server" Text="22" Value="22" />
                                    <telerik:RadComboBoxItem runat="server" Text="23" Value="23" />
                                    <telerik:RadComboBoxItem runat="server" Text="24" Value="24" />
                                    <telerik:RadComboBoxItem runat="server" Text="25" Value="25" />
                                </Items>
                            </telerik:RadComboBox>
                        </telerik:LayoutColumn>
                    </Columns>
                </telerik:LayoutRow>
            </Rows>
        </telerik:RadPageLayout>
        </div>
    </form>
</body>
</html>

Keith
Top achievements
Rank 1
 answered on 01 Aug 2016
1 answer
117 views

So, I have a grid databound in my code behind.  It loads fine, and I built a detail button that works fine.  But when I click on edit, I get: "JavaScript runtime error: Sys.WebForms.PageRequestManagerServerErrorException: Selection out of range Parameter name: value" and when I disable Ajax I can see:
[ArgumentOutOfRangeException: Selection out of range
Parameter name: value]
   Telerik.Web.UI.RadComboBox.PerformDataBinding(IEnumerable dataSource) +191
   Telerik.Web.UI.RadComboBox.OnDataSourceViewSelectCallback(IEnumerable data) +509
   System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback) +33
   Telerik.Web.UI.RadComboBox.OnDataBinding(EventArgs e) +1296
   Telerik.Web.UI.RadComboBox.PerformSelect() +37
   System.Web.UI.WebControls.BaseDataBoundControl.DataBind() +30
   Telerik.Web.UI.RadComboBox.DataBind() +71
   System.Web.UI.Control.DataBindChildren() +187
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +94
   System.Web.UI.Control.DataBind() +15
   System.Web.UI.Control.DataBindChildren() +187
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +94
   System.Web.UI.Control.DataBind() +15
   System.Web.UI.Control.DataBindChildren() +187
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +94
   System.Web.UI.Control.DataBind() +15
   System.Web.UI.Control.DataBindChildren() +187
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +94
   System.Web.UI.Control.DataBind() +15
   System.Web.UI.Control.DataBindChildren() +187
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +94
   System.Web.UI.Control.DataBind() +15
   System.Web.UI.Control.DataBindChildren() +187
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +94
   System.Web.UI.Control.DataBind() +15
   System.Web.UI.Control.DataBindChildren() +187
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +94
   System.Web.UI.Control.DataBind() +15
   System.Web.UI.Control.DataBindChildren() +187
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +94
   System.Web.UI.Control.DataBind() +15
   System.Web.UI.Control.DataBindChildren() +187
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +94
   System.Web.UI.Control.DataBind() +15
   Telerik.Web.UI.GridEditFormItem.SetupItem(Boolean dataBind, Object dataItem, GridColumn[] columns, ControlCollection rows) +414
   Telerik.Web.UI.GridItemBuilder.CreateItems(GridGroupingContext group) +998
   Telerik.Web.UI.GridTableView.CreateItems(IEnumerator enumerator, GridColumn[] columns, ControlCollection controls) +211
   Telerik.Web.UI.GridTableView.CreateControlHierarchy(Boolean useDataSource) +2173
   Telerik.Web.UI.GridTableView.CreateChildControls(IEnumerable dataSource, Boolean useDataSource) +865
   System.Web.UI.WebControls.CompositeDataBoundControl.PerformDataBinding(IEnumerable data) +67
   System.Web.UI.WebControls.DataBoundControl.OnDataSourceViewSelectCallback(IEnumerable data) +123
   System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback) +33
   System.Web.UI.WebControls.DataBoundControl.PerformSelect() +138
   Telerik.Web.UI.GridTableView.PerformSelect() +38
   System.Web.UI.WebControls.BaseDataBoundControl.DataBind() +30
   Telerik.Web.UI.GridTableView.DataBind() +382
   Telerik.Web.UI.GridTableView.Rebind() +108
   Telerik.Web.UI.GridCommandEventArgs.ExecuteCommand(Object source) +383
   Telerik.Web.UI.RadGrid.OnBubbleEvent(Object source, EventArgs e) +210
   System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +37
   Telerik.Web.UI.GridItem.OnBubbleEvent(Object source, EventArgs e) +147
   System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +37
   System.Web.UI.WebControls.LinkButton.OnCommand(CommandEventArgs e) +121
   System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) +156
   System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
   System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
   System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +9665314
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1724

I've been beating my head against this and I can't see a thing wrong with the values I'm getting back from my queries.

My ASPX is:

<telerik:RadGrid ID="RadGrid1" runat="server" AutoGenerateColumns="False"
CellSpacing="0" GridLines="None" AllowPaging="True"
DataMember="ID"
onneeddatasource="RadGrid1_NeedDataSource"
OnUpdateCommand="RadGrid1_UpdateCommand" PageSize="20"
onitemcommand="RadGrid1_ItemCommand">
<MasterTableView DataKeyNames="status,charity,make,model,year,vin,date,id,salePrice,bid,note"
EditMode="EditForms">
<CommandItemSettings ExportToPdfText="Export to PDF"></CommandItemSettings>
<RowIndicatorColumn Visible="True" FilterControlAltText="Filter RowIndicator column">
<HeaderStyle Width="20px"></HeaderStyle>
</RowIndicatorColumn>
<ExpandCollapseColumn Visible="True" FilterControlAltText="Filter ExpandColumn column">
<HeaderStyle Width="20px"></HeaderStyle>
</ExpandCollapseColumn>
<Columns>
<telerik:GridButtonColumn CommandName="History" Text="History" UniqueName="detailBtn" HeaderText="History" HeaderButtonType="PushButton" AutoPostBackOnFilter="True">
</telerik:GridButtonColumn>
<telerik:GridBoundColumn HeaderText="Charity" ItemStyle-Width="140px" FilterControlAltText="Filter column2 column"
UniqueName="column3" DataType="System.String" DataField="charity" ReadOnly="True">
<ItemStyle Width="140px"></ItemStyle>
</telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderText="VIN" ItemStyle-Width="140px" FilterControlAltText="Filter column6 column"
UniqueName="column7" DataType="System.String" DataField="vin" >
<ItemStyle Width="140px"></ItemStyle>
</telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderText="Year" ItemStyle-Width="140px" FilterControlAltText="Filter column2 column"
UniqueName="column2" DataType="System.Int32" DataField="year">
<ItemStyle Width="140px"></ItemStyle>
</telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderText="Make" ItemStyle-Width="140px" FilterControlAltText="Filter column column"
UniqueName="column" DataType="System.String" DataField="make">
<ItemStyle Width="140px"></ItemStyle>
</telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderText="Model" ItemStyle-Width="140px" FilterControlAltText="Filter column1 column"
UniqueName="column1" DataType="System.String" DataField="model">
<ItemStyle Width="140px"></ItemStyle>
</telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderText="Last Update" ItemStyle-Width="140px" FilterControlAltText="Filter column1 column"
UniqueName="column5" DataType="System.DateTime" DataField="date" ReadOnly="True">
<ItemStyle Width="140px"></ItemStyle>
</telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderText="Min. Bid" ItemStyle-Width="140px" FilterControlAltText="Filter column1 column"
UniqueName="column8" DataType="System.Decimal" DataField="bid" DataFormatString="{0:C}" >
<ItemStyle Width="140px"></ItemStyle>
</telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderText="Sale Price" ItemStyle-Width="140px" FilterControlAltText="Filter column1 column"
UniqueName="column6" DataType="System.Decimal" DataField="salePrice" DataFormatString="{0:C}" Display="False">
<ItemStyle Width="140px"></ItemStyle>
</telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderText="Notes" ItemStyle-Width="140px" FilterControlAltText="Filter column1 column"
UniqueName="unsoldNotesColumn" DataType="System.String" DataField="note" Display="True">
<ItemStyle Width="140px"></ItemStyle>
</telerik:GridBoundColumn>
<telerik:GridTemplateColumn HeaderText="Latest Status" ItemStyle-Width="240px" AutoPostBackOnFilter="True">
<ItemTemplate>
<%#DataBinder.Eval(Container.DataItem, "Status")%>
</ItemTemplate>
<EditItemTemplate>
<telerik:RadComboBox RenderMode="Lightweight" runat="server" ID="updateComboBox" DataTextField="Status"
DataValueField="ID" DataSourceID="LinqDataSource1" SelectedValue='<%#Bind("ID") %>'
>
</telerik:RadComboBox>
</EditItemTemplate>
<ItemStyle Width="240px"></ItemStyle>
</telerik:GridTemplateColumn>
<telerik:GridEditCommandColumn FooterText="EditCommand footer" UniqueName="EditCommandColumn"
HeaderText="Edit" HeaderStyle-Width="100px" UpdateText="Update">
<HeaderStyle Width="100px"></HeaderStyle>
</telerik:GridEditCommandColumn>


</Columns>
<EditFormSettings EditColumn-DataType="System.String">
<EditColumn FilterControlAltText="Filter EditCommandColumn column"></EditColumn>
</EditFormSettings>
</MasterTableView>
<FilterMenu EnableImageSprites="False"></FilterMenu>
</telerik:RadGrid>

And I'm calling my query in the "need data source" event.

 

 

I'd be very very grateful for any advice!


Viktor Tachev
Telerik team
 answered on 01 Aug 2016
1 answer
352 views

Hi 

 

I am currently trying to export multiple Radgrids all which contain different schemas to excel.

Radgrid 1 does a count status

Radgrid 2 does a count on phases in each status 

Radgrid 3 does a detail of each each status and phase 

 

So i want to export all 3 grids to one excel sheet is it possible through Telerik export?

 

Maria Ilieva
Telerik team
 answered on 01 Aug 2016
1 answer
264 views

Hi

Saw below link, in this page OnAjaxRequest="RadAjaxManager1_AjaxRequest" is called

http://docs.telerik.com/devtools/aspnet-ajax/controls/ajax/radajaxloadingpanel/how-to/show-ajaxloadingpanel-on-initial-page-load

My goal is to show loading image in RadTreeList when page loads

OnAjaxRequest="RadAjaxManager1_AjaxRequest" is in master page , how can i use this in ascx page

But in my environment i have like below

  <telerik:RadAjaxManagerProxy ID="proxyManager" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="RadTreeList">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="sectionID" LoadingPanelID="RadAjaxLoadingPanel1" />
                </UpdatedControls>
            </telerik:AjaxSetting>          
        </AjaxSettings>        
    </telerik:RadAjaxManagerProxy>   

 <telerik:RadTreeList ID="taskTreeList" runat="server"></telerik:RadTreeList>

 

Is there any other workaround?

Senthil

Maria Ilieva
Telerik team
 answered on 01 Aug 2016
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?