Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
899 views
To,

The problem is cannot make edit button disable certain row on match condition


The example i use. that make all edit button hidden when one condition is match
        protected void RadGrid1_ItemDataBound(object sender, GridItemEventArgs e)
        {
                if (e.Item is GridDataItem) 
                
                    GridDataItem item = (GridDataItem)e.Item;
 
                    GridButtonColumn gbtnCol = item.OwnerTableView.Columns.FindByUniqueName("column") as GridButtonColumn; 
                            gbtnCol.Text = "Resume"
                            gbtnCol.DataTextFormatString = "Resume"
                    GridEditCommandColumn gbtnCol2 = item.OwnerTableView.Columns.FindByUniqueName("EditCommandColumn") as GridEditCommandColumn;
                    Label txtProcessStatus = e.Item.FindControl("ProcessStatusLabel") as Label;
                     
                    //ProcessStatusTextBox gbtnCol3 = item.OwnerTableView.Columns.FindByUniqueName("ProcessStatus") as ProcessStatusTextBox;
 
                    if (gbtnCol2 != null )
                        if (txtProcessStatus.Text != "98")
                        {
                            gbtnCol2.Visible = false;
                            gbtnCol.Visible = false;
                            txtProcessStatus.Text = "11";
                        }
                     
                }
}



Anyone have idea to disable Radgrid edit on certain row? Thanks advance.
From louisth
Shinu
Top achievements
Rank 2
 answered on 14 May 2014
9 answers
186 views
Hi, there is a performance issue with the RadComboBox when you fill it with many records in Crhome 33.
I'm using 2013 Q3 SP2 Version.
In IE and Firefox it is fine.

Best regards.
Juan
Top achievements
Rank 2
 answered on 14 May 2014
1 answer
92 views
Dear all seniors:

I use the browser of IE 8.0 on client, and connect to  Web Server of IIS 7.5.
They are exist on different network domain but trust to each other.
After I selected the file on RadAsyncUpload,it shows the popup window of login.
How to setup it?
Thank you very much!
啟仲
Top achievements
Rank 1
 answered on 14 May 2014
2 answers
154 views
I have this in my tools xml file:
<tools name="Tools">
    <tool name="Custom_StripWidth" text="Strip All Widths/Heights" />
    <tool name="Custom_ClearAll" text="Clear" />
    <tool name="Custom_Format" type="SplitButton">
        <tool name="Custom_StripWidth" text="Strip Widths/Heights" />
        <tool name="StripCss"/>
        <tool name="StripFont"/>
        <tool name="StripSpan"/>
        <tool name="StripWord"/>
        <tool name="StripAll"/>
    </tool>
</tools>

And this in my css:
.reTool .Custom_Format {
    background-image: url('../images/icons/format.png');
} 
.reTool .Custom_StripWidth {
    background-image: url('../images/icons/strip_width.png');
}

As you can see from the attached picture, the Custom_StripWidth tool on the main bar looks correct, but the one nested in the SplitButton is missing the image.

Any ideas?
Erick Burgess
Top achievements
Rank 1
 answered on 13 May 2014
4 answers
220 views
Hi it is my problem:


I have one radgrid in one div this:

<div style="width:920px; min-width:920px; max-width:920px;">  
                                            <telerik:RadGrid ID="griddirectorio" runat="server" Skin="Office2010Silver"
                                                              AutoGenerateColumns="False"
                                                              PageSize="10"
                                                              ClientSettings-Resizing-AllowColumnResize="false"
                                                              GroupingSettings-ShowUnGroupButton="true"
                                                              GroupHeaderItemStyle-CssClass="txt10333"
                                                              GroupPanel-PanelItemsStyle-CssClass="txt10333"
                                                              GroupPanel-PanelStyle-CssClass="txt10333"
                                                              GroupPanel-PanelStyle-Width="100%"
                                                              ShowGroupPanel="true"
                                                              Culture="es-CO"
                                                              EnableLinqExpressions="false"
                                                              AllowFilteringByColumn="true"
                                                              AllowPaging="True"
                                                              AllowSorting="True"
                                                              OnItemCreated="RegistrarAjax"
                                                              OnSortCommand="reordenargrid"
                                                              OnPageIndexChanged="cargarpagegrid"
                                                              OnPageSizeChanged="cambiopagesizegrid"
                                                              OnGroupsChanging="agrupargridinicial"
                                                              OnItemCommand="cambioflitrogrid">
                                                <FilterItemStyle CssClass="txt11333"/>
                                                <HeaderStyle CssClass="txt10333"/>
                                                <ItemStyle CssClass="txt10333" />
                                                <FooterStyle CssClass="txt10333"/>
                                                <PagerStyle Mode="NextPrevAndNumeric" CssClass="txt10333"/>
                                                <AlternatingItemStyle BackColor="#EEEEEE" CssClass="txt10333"/>
                                                <MasterTableView TableLayout="Fixed" AllowMultiColumnSorting="true" CssClass="txt10333">
                                                    <Columns>
                                                        <telerik:GridBoundColumn HeaderText="Nombre" Resizable="true" DataField="nompersona" UniqueName="nompersona" SortExpression="nompersona" FilterControlWidth="145">
                                                            <ItemStyle Width="190" VerticalAlign="Middle" CssClass="txt10333"/>
                                                            <HeaderStyle Width="190"/>
                                                        </telerik:GridBoundColumn>
                                                        <telerik:GridBoundColumn HeaderText="Teléfono" Resizable="true" DataField="telefono" UniqueName="telefono" SortExpression="telefono" FilterControlWidth="145">
                                                            <ItemStyle Width="190" VerticalAlign="Middle" CssClass="txt10333"/>
                                                            <HeaderStyle Width="190"/>
                                                        </telerik:GridBoundColumn>
                                                        <telerik:GridBoundColumn HeaderText="Celular" Resizable="true" DataField="celular" UniqueName="celular" SortExpression="celular" FilterControlWidth="145">
                                                            <ItemStyle Width="190" VerticalAlign="Middle" CssClass="txt10333"/>
                                                            <HeaderStyle Width="190"/>
                                                        </telerik:GridBoundColumn>
                                                        <telerik:GridBoundColumn HeaderText="Cargo" Resizable="true" DataField="cargo" UniqueName="cargo" SortExpression="cargo" FilterControlWidth="145">
                                                            <ItemStyle Width="190" VerticalAlign="Middle" CssClass="txt10333"/>
                                                            <HeaderStyle Width="190"/>
                                                        </telerik:GridBoundColumn>
                                                        <telerik:GridBoundColumn HeaderText="Estado" Resizable="true" DataField="estadoregistro" UniqueName="estadoregistro" SortExpression="estadoregistro" FilterControlWidth="25">
                                                            <ItemStyle Width="70" VerticalAlign="Middle" CssClass="txt10333"/>
                                                            <HeaderStyle Width="70"/>
                                                        </telerik:GridBoundColumn>  
                                                        <telerik:GridTemplateColumn AllowFiltering="false" HeaderText="Acción" Groupable="false">
                                                            <ItemTemplate>
                                                                <asp:LinkButton ID="linkseleccionar" runat="server" Text="seleccionar" CssClass="txt10333" CommandArgument='<%# Eval("directorioID") %>' OnCommand="seleccionardirectorio"></asp:LinkButton>
                                                                <cc1:ConfirmButtonExtender runat="server" ID="Confirmlinkseleccionar" TargetControlID="linkseleccionar" ConfirmText="Realmente desea eliminar este directorio?"></cc1:ConfirmButtonExtender>
                                                            </ItemTemplate>
                                                            <ItemStyle Width="80" VerticalAlign="Middle"/>
                                                            <HeaderStyle Width="80"/>
                                                        </telerik:GridTemplateColumn>
                                                    </Columns>
                                                    <ItemStyle VerticalAlign="Top"/>
                                                </MasterTableView>
                                                <ClientSettings EnableRowHoverStyle="true" AllowDragToGroup="true">
                                                </ClientSettings>
                                            </telerik:RadGrid>
                                        </div>

this div is in a table with the property  " HorizontalAlign="Center" " but in I.E the radgrid not respect the width o the div.

I don't know what happend with this. Help me please. Thanks!!
Pavlina
Telerik team
 answered on 13 May 2014
1 answer
147 views
Dear Telerik Team,

I am trying to create scheduler with advanced insert/update templates. But below code fails to get attribute value during insert. Please advise.
 <telerik:RadScheduler runat="server" ID="RadScheduler1" Width="750px" OnDataBound="RadScheduler1_DataBound" StartInsertingInAdvancedForm="true"  OnAppointmentInsert="CMSScheduler_AppointmentInsert"
            AppointmentStyleMode="Default" AdvancedForm-EnableCustomAttributeEditing="true" OverflowBehavior="Auto"
             DataKeyField="ID" DataSubjectField="Subject" OnAppointmentCommand="RadScheduler1_AppointmentCommand" OnFormCreated="RadScheduler1_FormCreated" OnAppointmentDataBound="RadScheduler1_AppointmentDataBound"
            DataStartField="Start" DataEndField="End"
            CustomAttributeNames="FullName,Email,Phone"
            EnableDescriptionField="true" Skin="Windows7">
    <AdvancedForm Modal="true" />
    <DayView UserSelectable="true" />
    <WeekView UserSelectable="true" />
    <MonthView UserSelectable="true" />
    <DayView HeaderDateFormat="ddd dd MMMM yyyy" />
    <WeekView HeaderDateFormat="ddd dd MMMM yyyy" />
    <TimelineView HeaderDateFormat="ddd dd MMMM yyyy" />
    <MonthView HeaderDateFormat="MMMM yyyy" />
    <TimeSlotContextMenuSettings EnableDefault="true" />
    <AppointmentContextMenuSettings EnableDefault="true" />
              <AppointmentTemplate>
           
        </AppointmentTemplate>
        <AdvancedEditTemplate>
               <div class="rsAdvancedEdit" style="position: relative">  
                <%-- Title bar. --%> 
                <div class="rsAdvTitle">  
                    <%-- The rsAdvInnerTitle element is used as a drag handle when the form is modal. --%> 
                    <h1 class="rsAdvInnerTitle">  
                        </h1> 
                    <asp:LinkButton runat="server" ID="AdvancedEditCloseButton" CssClass="rsAdvEditClose" 
                        CommandName="Cancel" CausesValidation="false" ToolTip='close'>  
                        close  
                    </asp:LinkButton> 
                </div> 
            <div id="qsfexAdvEditWrapper">
                <div>
                    <div class="qsfexAdvAppType">
                    </div>
                   <div style="padding:10px;">
                     <table style="width:90%;">
                        <tr>
                        <td>Subject:</td>
                        <td><telerik:RadTextBox runat="server" ID="SubjectText" Width="70%" MaxLength="255" Text='<%# Eval("Subject") %>'  EnableSingleInputRendering="false"/></td>
                        </tr>
                        <tr>
                            <td colspan="2"  style="height:2px;">
                                  <asp:CustomValidator ID="CustomValidator1" runat="server"  ControlToValidate="SubjectText" ValidateEmptyText="true" ClientValidationFunction="ValidateRequired" />
                            </td>
                        </tr>
                         <tr>
                        <td>Full Name:</td>
                        <td> <telerik:RadTextBox ID="txtFullName" Width="70%" runat="server" MaxLength="100" Text='<%# Eval("FullName") %>' EnableSingleInputRendering="false" /></td>
                        </tr>
                         <tr>
                            <td colspan="2"  style="height:2px;">
                                 <asp:CustomValidator ID="CustomValidator2" runat="server"  ControlToValidate="txtFullName" ValidateEmptyText="true" ClientValidationFunction="ValidateRequired" />
                            </td>
                        </tr>
                         <tr>
                        <td>Phone:</td>
                        <td> <telerik:RadTextBox ID="txtPhone" runat="server" Width="70%" Text='<%# Eval("Phone") %>'  MaxLength="50"  EnableSingleInputRendering="false" /></td>
                        </tr>
                         <tr>
                            <td colspan="2"  style="height:2px;">
                                <asp:CustomValidator ID="CustomValidator3" runat="server"  ControlToValidate="txtPhone" ValidateEmptyText="true" ClientValidationFunction="ValidateRequired" />
                            </td>
                        </tr>
                         <tr>
                        <td>Email:</td>
                        <td> <telerik:RadTextBox ID="txtEmail" runat="server" Width="70%" Text='<%# Eval("Email") %>'  MaxLength="50" EnableSingleInputRendering="false"  /></td>
                        </tr>
                         <tr>
                            <td colspan="2"  style="height:2px;">
                                 <asp:CustomValidator ID="CustomValidator4" runat="server"  ControlToValidate="txtEmail" ValidateEmptyText="true" ClientValidationFunction="ValidateRequired" />
                            </td>
                        </tr>
                         <tr>
                        <td>Description:</td>
                        <td><telerik:RadTextBox runat="server" ID="DescriptionText" TextMode="MultiLine" Columns="50" MaxLength="1024"  Rows="10" Width="70%"  Text='<%# Eval("Description") %>' EnableSingleInputRendering="false"/></td>
                        </tr>
                         <tr>
                            <td colspan="2"  style="height:2px;"></td>
                        </tr>
                         <tr>
                        <td>Start:</td>
                        <td> <telerik:RadDateTimePicker ID="StartDate" runat="server" Width="70%" SelectedDate='<%# Bind("Start") %>' /></td>
                        </tr>
                         <tr>
                            <td colspan="2"  style="height:2px;"></td>
                        </tr>
                         <tr>
                        <td>End:</td>
                        <td> <telerik:RadDateTimePicker ID="EndDate" runat="server" Width="70%" SelectedDate='<%# Bind("End") %>' /></td>
                        </tr>
                         <tr>
                            <td colspan="2"  style="height:2px;"></td>
                        </tr>
                         <tr>
                            <td colspan="2" style="text-align:center;"> 
                                <asp:CompareValidator ID="valDateTimeOccurrenceDiscovery" runat="server" ControlToCompare="StartDate" ControlToValidate="EndDate" Operator="GreaterThan" ForeColor="Red" Display="Static" ErrorMessage="End Date/Time must be after Start Date/Time"></asp:CompareValidator> 
                            </td>
                        </tr>
                         <tr>
                        <td></td>
                        <td><div class="qsfexAdvEditControlWrapper" style="text-align: right;">
                        <asp:LinkButton ID="UpdateButton" runat="server" CommandName="Update">
                            <asp:Image runat="server" ID="insertImage" ImageUrl="Images/ok.png" AlternateText="update">
                            </asp:Image></asp:LinkButton>
                        <asp:LinkButton ID="UpdateCancelButton" runat="server" CausesValidation="False" CommandName="Cancel"
                            Style="margin-right: 8px;">
                            <asp:Image runat="server" ID="Image2" ImageUrl="Images/cancel.png" AlternateText="cancel">
                            </asp:Image></asp:LinkButton>
                    </div></td>
                        </tr>
                    </table>
                       </div>
            </div>
                </div>
                   </div>
        </AdvancedEditTemplate>
        <AdvancedInsertTemplate>
             <div class="rsAdvancedEdit" style="position: relative">  
                <%-- Title bar. --%> 
                <div class="rsAdvTitle">  
                    <%-- The rsAdvInnerTitle element is used as a drag handle when the form is modal. --%> 
                    <h1 class="rsAdvInnerTitle">  
                        </h1> 
                    <asp:LinkButton runat="server" ID="AdvancedEditCloseButton" CssClass="rsAdvEditClose" 
                        CommandName="Cancel" CausesValidation="false" ToolTip='close'>  
                        close  
                    </asp:LinkButton> 
                </div> 
            <div id="qsfexAdvEditWrapper">
                <div id="qsfexAdvEditInnerWrapper" class="technical">
                    <div class="qsfexAdvAppType">
                    </div>
                    <div style="padding:10px;">
                     <table style="width:90%;">
                        <tr>
                        <td>Subject:</td>
                        <td><telerik:RadTextBox runat="server" CssClass="txtBox" ID="SubjectText" Width="70%" MaxLength="255" Text='<%# Eval("Subject") %>'  EnableSingleInputRendering="false"/></td>
                        </tr>
                          <tr>
                            <td colspan="2"  style="height:2px;">
                               <asp:CustomValidator ID="CustomValidator1" runat="server"  ControlToValidate="SubjectText" ValidateEmptyText="true" ClientValidationFunction="ValidateRequired" />
                            </td>
                        </tr>
                         <tr>
                        <td>Full Name:</td>
                        <td> <telerik:RadTextBox ID="txtFullName" CssClass="txtBox" Width="70%" runat="server" MaxLength="100" Text='<%# Eval("FullName") %>' EnableSingleInputRendering="false" /></td>
                        </tr>
                          <tr>
                            <td colspan="2"  style="height:2px;">
                                 <asp:CustomValidator ID="CustomValidator2" runat="server"  ControlToValidate="txtFullName" ValidateEmptyText="true" ClientValidationFunction="ValidateRequired" />
                            </td>
                        </tr>
                         <tr>
                        <td>Phone:</td>
                        <td> <telerik:RadTextBox ID="txtPhone" CssClass="txtBox" runat="server" Width="70%"  MaxLength="50" Text='<%# Eval("Phone") %>'  EnableSingleInputRendering="false" /></td>
                        </tr>
                          <tr>
                            <td colspan="2"  style="height:2px;">
                                 <asp:CustomValidator ID="CustomValidator3" runat="server"  ControlToValidate="txtPhone" ValidateEmptyText="true" ClientValidationFunction="ValidateRequired" />
                            </td>
                        </tr>
                         <tr>
                        <td>Email:</td>
                        <td> <telerik:RadTextBox ID="txtEmail" runat="server" Width="70%"  MaxLength="50" EnableSingleInputRendering="false"  Text='<%# Eval("Email") %>' /></td>
                        </tr>
                          <tr>
                            <td colspan="2"  style="height:2px;">
                                 <asp:CustomValidator ID="CustomValidator4" runat="server"  ControlToValidate="txtEmail" ValidateEmptyText="true" ClientValidationFunction="ValidateRequired" />
                            </td>
                        </tr>
                         <tr>
                        <td>Description:</td>
                        <td><telerik:RadTextBox runat="server" ID="DescriptionText" TextMode="MultiLine" Columns="50" MaxLength="1024"  Rows="10" Width="70%"  Text='<%# Eval("Description") %>' EnableSingleInputRendering="false"/></td>
                        </tr>
                          <tr>
                            <td colspan="2"  style="height:2px;"></td>
                        </tr>
                         <tr>
                        <td>Start:</td>
                        <td> <telerik:RadDateTimePicker ID="StartDate" runat="server" Width="70%" SelectedDate='<%# Bind("Start") %>' TimeView-Interval="00:15:00" TimeView-Columns="4" TimeView-StartTime="6:00:00">     
                             </telerik:RadDateTimePicker></td>
                        </tr>
                          <tr>
                            <td colspan="2"  style="height:2px;"></td>
                        </tr>
                         <tr>
                        <td>End:</td>
                        <td> <telerik:RadDateTimePicker ID="EndDate" runat="server" Width="70%" SelectedDate='<%# Bind("End") %>' TimeView-Interval="00:15:00" TimeView-Columns="4" TimeView-StartTime="6:00:00">
                          
                             </telerik:RadDateTimePicker></td>
                        </tr>
                          <tr>
                            <td colspan="2"  style="height:2px;"></td>
                        </tr>
                          <tr>
                            <td colspan="2" style="text-align:center;">
                                <asp:CompareValidator ID="valDateTimeOccurrenceDiscovery" runat="server" ControlToCompare="StartDate" ControlToValidate="EndDate" Operator="GreaterThan" ForeColor="Red" Display="Static" ErrorMessage="End Date/Time must be after Start Date/Time"></asp:CompareValidator> 
                            </td>
                        </tr>
                         <tr>
                        <td></td>
                        <td><div class="qsfexAdvEditControlWrapper" style="text-align: right;">
                        <asp:LinkButton ID="InsertButton" runat="server" CommandName="Insert">
                            <asp:Image runat="server" ID="insertImage" ImageUrl="Images/ok.png" AlternateText="update">
                            </asp:Image></asp:LinkButton>
                        <asp:LinkButton ID="InsertCancelButton" runat="server" CausesValidation="False" CommandName="Cancel"
                            Style="margin-right: 8px;">
                            <asp:Image runat="server" ID="Image2" ImageUrl="Images/cancel.png" AlternateText="cancel">
                            </asp:Image></asp:LinkButton>
                    </div></td>
                        </tr>
                    </table>
                        </div>
                </div>
            </div>
                 </div>
        </AdvancedInsertTemplate>
        <TimeSlotContextMenuSettings EnableDefault="true"></TimeSlotContextMenuSettings>
        <AppointmentContextMenuSettings EnableDefault="true"></AppointmentContextMenuSettings>
    </telerik:RadScheduler>  public partial class Contact : Page
    {
        private const int AppointmentsLimit = 1;
        private DataTable dt = new DataTable();
        private CommonMethods cm;
        protected void Page_Load(object sender, EventArgs e)
        {
            cm = new CommonMethods();
            if (!Page.IsPostBack)
            {
                
                dt = cm.getDataTableNoParams("USP_GET_APPOINTMENTS");
                RadScheduler1.DataSource = dt;
                RadScheduler1.DataBind();
                RadScheduler1.SelectedDate = DateTime.Now;
            }
            else
            {
                dt = cm.getDataTableNoParams("USP_GET_APPOINTMENTS");
                RadScheduler1.DataSource = dt;
                RadScheduler1.DataBind();
            }

        }
        private void bindCMSScheduler()
        {
            dt = cm.getDataTableNoParams("USP_GET_APPOINTMENTS");
            RadScheduler1.DataSource = dt;
            RadScheduler1.Rebind();
        }

        protected void CMSScheduler_AppointmentInsert(object sender, SchedulerCancelEventArgs e)
        {
            try
            {
                string email = e.Appointment.Attributes["Email"].ToString(); // here this is null. No attributes find hre.
                cm.InsertNewAppointment(e);
                bindCMSScheduler();


            }
            catch (Exception ex)
            {
            }
            finally
            {
            }
        }

        protected void RadScheduler1_DataBound(object sender, EventArgs e)
        {
            //RadScheduler1.ResourceTypes.FindByName("User").AllowMultipleValues = true;
            //RadScheduler1.ResourceTypes.FindByName("Room").AllowMultipleValues = false;
        }

        protected void RadScheduler1_AppointmentDataBound(object sender, SchedulerEventArgs e)
        {
        }

        protected void RadScheduler1_FormCreated(object sender, SchedulerFormCreatedEventArgs e)
        {
            if ((e.Container.Mode == SchedulerFormMode.AdvancedEdit) || (e.Container.Mode == SchedulerFormMode.AdvancedInsert))
            {

               
            }

        }

        protected void validateEmail()
        {

        }

        protected void RadScheduler1_AppointmentCommand(object sender, AppointmentCommandEventArgs e)
        {
           

        }

    }
    {
        private const int AppointmentsLimit = 1;
        private DataTable dt = new DataTable();
        private CommonMethods cm;
        protected void Page_Load(object sender, EventArgs e)
        {
            cm = new CommonMethods();
            if (!Page.IsPostBack)
            {
                
                dt = cm.getDataTableNoParams("USP_GET_APPOINTMENTS");
                RadScheduler1.DataSource = dt;
                RadScheduler1.DataBind();
                RadScheduler1.SelectedDate = DateTime.Now;
            }
            else
            {
                dt = cm.getDataTableNoParams("USP_GET_APPOINTMENTS");
                RadScheduler1.DataSource = dt;
                RadScheduler1.DataBind();
            }

        }
        private void bindCMSScheduler()
        {
            dt = cm.getDataTableNoParams("USP_GET_APPOINTMENTS");
            RadScheduler1.DataSource = dt;
            RadScheduler1.Rebind();
        }

        protected void CMSScheduler_AppointmentInsert(object sender, SchedulerCancelEventArgs e)
        {
            try
            {
                string email = e.Appointment.Attributes["Email"].ToString(); // here this is null. No attributes find hre.
                cm.InsertNewAppointment(e);
                bindCMSScheduler();


            }
            catch (Exception ex)
            {
            }
            finally
            {
            }
        }

        protected void RadScheduler1_DataBound(object sender, EventArgs e)
        {
            //RadScheduler1.ResourceTypes.FindByName("User").AllowMultipleValues = true;
            //RadScheduler1.ResourceTypes.FindByName("Room").AllowMultipleValues = false;
        }

        protected void RadScheduler1_AppointmentDataBound(object sender, SchedulerEventArgs e)
        {
        }

        protected void RadScheduler1_FormCreated(object sender, SchedulerFormCreatedEventArgs e)
        {
            if ((e.Container.Mode == SchedulerFormMode.AdvancedEdit) || (e.Container.Mode == SchedulerFormMode.AdvancedInsert))
            {

               
            }

        }

        protected void RadScheduler1_AppointmentCommand(object sender, AppointmentCommandEventArgs e)
        {
           

        }

    }






Boyan Dimitrov
Telerik team
 answered on 13 May 2014
5 answers
143 views
I have a dropdownlist in a GridTemplateColumn (see code attached). I have C# backend code to update the sql database when an Update is performed. All of this worked fine until I changed a couple of the edit fields to dropdowns. I can't seem to get the value of the dropdown selected item when I update. The dropdown id="StatusDD". Can anyone help?

Thanks in advance
Tom



Tom
Top achievements
Rank 1
 answered on 13 May 2014
1 answer
73 views
i'm using File Explorer. AsyncUpload in File Explorer, select and Upload Multiple files to a button an Error. i will attach a picture of the contents. i'm soory,
did not speak English well.



Hristo Valyavicharski
Telerik team
 answered on 13 May 2014
1 answer
229 views
Do all grid skins have alternating row style? E.g. Silk - how to enable it?
Konstantin Dikov
Telerik team
 answered on 13 May 2014
1 answer
87 views
I am using Telerik Grid which adds hyperlink controls on ItemDataBound. Below code used to work with Telerik.Web.UI(2012.2.912.35).
When I upgraded it to 2014.1.225.35 or  2014.1.403.35 the links lose hyperlink url.

 
protected void RadGrid_ItemDataBound(object sender, GridItemEventArgs e)
        {         
            try
            {
                if (e.Item is GridDataItem)
                {
                    GridDataItem item = (GridDataItem)e.Item;
                    foreach (string hlc in hyperlinksColumns)
                    {
                        HyperLink link = new HyperLink();
                        link.Text = item[hlc].Text;
                        link.NavigateUrl = item[hlc + "_URL"].Text; //This Does not work
                        link.NavigateUrl = "javascript:callFunctionA('parameter1','parameter2');"; //This works. Same text is present in item[hlc + "_URL"].Text
                        item[hlc].Controls.Add(link);                                         
                    }
}
    }                       
    catch (Exception ex)
             {                  
                    Utils.WriteLog(ex);
             }
         }
Kostadin
Telerik team
 answered on 13 May 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?