Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
134 views
When i want to edit a row in a filtered radgrid, it returns me the data of another line. Apparently filtering disappears when i click the edit button, thus the line with that pageindex and itemindex on unfiltered grid. how can i solve this problem?

aspx:

<telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" LoadingPanelID="RadAjaxLoadingPanel1" 
                    EnableAJAX="true"> 
                    <telerik:RadGrid BorderWidth="0" ID="gridResult" runat="server" AutoGenerateColumns="False" 
                        Width="100%" Height="480px" AllowSorting="True" AllowPaging="true" PageSize="25" 
                        Skin="Hay" OnUpdateCommand="gridResult_UpdateCommand" OnDeleteCommand="gridResult_DeleteCommand" OnItemDataBound="gridResult_OnItemDataBound" 
                        OnInsertCommand="gridResult_InsertCommand" OnNeedDataSource="gridResult_NeedDataSource" AllowFilteringByColumn="true"> 
                        <MasterTableView EditMode="InPlace" CommandItemDisplay="Top" ShowHeadersWhenNoRecords="true"  
                            AllowNaturalSort="true" AllowMultiColumnSorting="true" Font-Names="Tahoma"> 
                            <Columns> 
                                <telerik:GridEditCommandColumn ButtonType="ImageButton" UniqueName="EditColumn" HeaderStyle-Width="20px" 
                                    CancelText="İptal" EditText="Düzenle" InsertText="Kaydet" UpdateText="Güncelle"> 
                                </telerik:GridEditCommandColumn> 
                                <telerik:GridTemplateColumn DataField="NO" HeaderText="No" Visible="false" HeaderStyle-Width="20px" 
                                    SortExpression="NO"> 
                                    <ItemTemplate> 
                                        <asp:Label ID="lblNo" runat="server" Text='<%# Bind("NO") %>'></asp:Label> 
                                    </ItemTemplate> 
                                </telerik:GridTemplateColumn> 
                                <telerik:GridTemplateColumn DataField="AD" HeaderText="Parametre Adı" SortExpression="AD" 
                                    HeaderStyle-Width="75px" ShowFilterIcon="false" CurrentFilterFunction="Contains" AutoPostBackOnFilter="true"> 
                                    <EditItemTemplate> 
                                        <telerik:RadTextBox ID="txtAd" runat="server" Text='<%# Bind("AD") %>' Width="75px" 
                                            SelectionOnFocus="CaretToEnd"> 
                                        </telerik:RadTextBox> 
                                        <asp:RequiredFieldValidator ID="rfvAd" runat="server" ControlToValidate="txtAd" Display="Dynamic" 
                                            ErrorMessage="Parametre adı girilmek zorundadır."></asp:RequiredFieldValidator> 
                                    </EditItemTemplate> 
                                    <ItemTemplate> 
                                        <asp:Label ID="lblAd" runat="server" Text='<%# Bind("AD") %>'></asp:Label> 
                                    </ItemTemplate> 
                                </telerik:GridTemplateColumn> 
                                <telerik:GridTemplateColumn DataField="ACIKLAMA" HeaderText="Açıklama" HeaderStyle-Width="100px" 
                                    SortExpression="ACIKLAMA" AllowFiltering="false"> 
                                    <EditItemTemplate> 
                                        <telerik:RadTextBox ID="txtAciklama" runat="server" Text='<%# Bind("ACIKLAMA") %>' 
                                            TextMode="MultiLine" Rows="4" Width="100px" SelectionOnFocus="CaretToEnd"> 
                                        </telerik:RadTextBox> 
                                        <asp:RequiredFieldValidator ID="rfvAciklama" runat="server" ControlToValidate="txtAciklama" 
                                            Display="Dynamic" ErrorMessage="Parametre açıklaması girilmek zorundadır."></asp:RequiredFieldValidator> 
                                    </EditItemTemplate> 
                                    <ItemTemplate> 
                                        <asp:Label ID="lblAciklama" runat="server" Text='<%# Bind("ACIKLAMA") %>'> 
                                        </asp:Label> 
                                    </ItemTemplate> 
                                </telerik:GridTemplateColumn> 
                                <telerik:GridTemplateColumn DataField="GRUBU" HeaderText="Grubu" SortExpression="GRUBU" 
                                    HeaderStyle-Width="75px" ShowFilterIcon="false" CurrentFilterFunction="Contains" AutoPostBackOnFilter="true"> 
                                    <EditItemTemplate> 
                                        <telerik:RadComboBox ID="ddlGrubu" runat="server" SelectedValue='<%# Bind("GRUBU") %>' 
                                            Width="75px"> 
                                            <Items> 
                                                <telerik:RadComboBoxItem runat="server" Text="Seçiniz" Value="-1" /> 
                                                <telerik:RadComboBoxItem runat="server" Text="A" Value="A" /> 
                                                <telerik:RadComboBoxItem runat="server" Text="B" Value="B" /> 
                                                <telerik:RadComboBoxItem runat="server" Text="C" Value="C" /> 
                                                <telerik:RadComboBoxItem runat="server" Text="D" Value="D" /> 
                                                <telerik:RadComboBoxItem runat="server" Text="DiÄŸer" Value="-"/> 
                                            </Items> 
                                        </telerik:RadComboBox> 
                                        <%--<dsi:MultipleListControl ID="ddlGrubu" runat="server"/>--%> 
                                        <%--<asp:RequiredFieldValidator ID="rfvGrubu" runat="server" ControlToValidate="ddlGrubu" 
                                            Display="Dynamic" ErrorMessage="Parametre grubu seçilmek zorundadır." InitialValue="Seçiniz"> 
                                        </asp:RequiredFieldValidator>--%> 
                                    </EditItemTemplate> 
                                    <ItemTemplate> 
                                        <asp:Label ID="lblGrubu" runat="server" Text='<%# Bind("GRUBU") %>'></asp:Label> 
                                    </ItemTemplate> 
                                </telerik:GridTemplateColumn> 
                                <telerik:GridTemplateColumn DataField="BIRIM" HeaderText="Birim" SortExpression="BIRIM" 
                                    HeaderStyle-Width="100px" AllowFiltering="false"> 
                                    <EditItemTemplate> 
                                        <telerik:RadTextBox ID="txtBirim" runat="server" Text='<%# Bind("BIRIM") %>' Width="100px" 
                                            SelectionOnFocus="CaretToEnd"> 
                                        </telerik:RadTextBox> 
                                        <asp:RequiredFieldValidator ID="rfvBirim" runat="server" ControlToValidate="txtBirim" 
                                            Display="Dynamic" ErrorMessage="Parametre birimi girilmek zorundadır."></asp:RequiredFieldValidator> 
                                    </EditItemTemplate> 
                                    <ItemTemplate> 
                                        <asp:Label ID="lblBirim" runat="server" Text='<%# Bind("BIRIM") %>'> 
                                        </asp:Label> 
                                    </ItemTemplate> 
                                </telerik:GridTemplateColumn> 
                                <telerik:GridTemplateColumn DataField="DUYARLILIK" HeaderText="Duyarlılık" SortExpression="DUYARLILIK" 
                                    HeaderStyle-Width="50px" AllowFiltering="false"> 
                                    <EditItemTemplate> 
                                        <telerik:RadNumericTextBox ID="txtDuyarlilik" runat="server" MinValue="0" MaxValue="4" 
                                            NumberFormat-DecimalDigits="0" ShowSpinButtons="true" Text='<%# Bind("DUYARLILIK") %>' 
                                            Width="50px" SelectionOnFocus="CaretToEnd"> 
                                        </telerik:RadNumericTextBox> 
                                        <asp:RequiredFieldValidator ID="rfvDuyarlilik" runat="server" ControlToValidate="txtDuyarlilik" 
                                            Display="Dynamic" ErrorMessage="Parametrenin duyarlılığı belirtilmek zorundadır."></asp:RequiredFieldValidator> 
                                    </EditItemTemplate> 
                                    <ItemTemplate> 
                                        <asp:Label ID="lblDuyarlilik" runat="server" Text='<%# Bind("DUYARLILIK") %>'></asp:Label> 
                                    </ItemTemplate> 
                                </telerik:GridTemplateColumn> 
                                <telerik:GridTemplateColumn DataField="ANALIZMETHODU" HeaderText="Analiz Methodu" 
                                    SortExpression="ANALIZMETHODU" HeaderStyle-Width="125px" AllowFiltering="false"> 
                                    <EditItemTemplate> 
                                        <telerik:RadTextBox ID="txtAnalizMethodu" runat="server" Text='<%# Bind("ANALIZMETHODU") %>' 
                                            TextMode="MultiLine" Rows="4" Width="125px" SelectionOnFocus="CaretToEnd"> 
                                        </telerik:RadTextBox> 
                                        <asp:RequiredFieldValidator ID="rfvAnalizMethodu" runat="server" ControlToValidate="txtAnalizMethodu" 
                                            Display="Dynamic" ErrorMessage="Parametre analiz methodu belirtilmek zorundadır."></asp:RequiredFieldValidator> 
                                    </EditItemTemplate> 
                                    <ItemTemplate> 
                                        <asp:Label ID="lblAnalizMethodu" runat="server" Text='<%# Bind("ANALIZMETHODU") %>'> 
                                        </asp:Label> 
                                    </ItemTemplate> 
                                </telerik:GridTemplateColumn> 
                                <telerik:GridButtonColumn ButtonType="ImageButton" ConfirmText="Parametreyi silmek istediÄŸinize emin misiniz?" 
                                    ConfirmTitle="Silme" ConfirmDialogType="RadWindow" UniqueName="DeleteColumn" 
                                    CommandName="Delete" HeaderStyle-Width="20px"> 
                                </telerik:GridButtonColumn> 
                            </Columns> 
                            <NoRecordsTemplate> 
                                <div style="float: left; width: 100%; text-align: center;"> 
                                    <strong> 
                                        <asp:Label ID="lblNoData" runat="server" Text="Gösterilecek her hangi bir veri bulunmadı."></asp:Label> 
                                    </strong> 
                                </div> 
                            </NoRecordsTemplate> 
                        </MasterTableView>    
                        <ExportSettings ExportOnlyData="true" IgnorePaging="true" OpenInNewWindow="true" FileName="ParametreKarti"> 
                        <Pdf PageTitle="Parametre Karti" PaperSize="A4" Author="DSI" PageWidth="100%" PageLeftMargin="3%" PageRightMargin="3%"/>  </ExportSettings> 
                    </telerik:RadGrid> 
                </telerik:RadAjaxPanel> 

codebehind:

protected void gridResult_DeleteCommand(object source, Telerik.Web.UI.GridCommandEventArgs e) 
        { 
            //System.Diagnostics.Debug.Write(ex.Message);//("Parametre", "Event handled.", MessagePriority.NoPrior, MessageType.Trace, ""); 
 
            try 
            { 
                DTO dto = new DTO(); 
                bool resultFlag = ParametreBusiness.DeleteEntity(Convert.ToInt32((e.Item.FindControl("lblNo") as Label).Text)); 
 
                if (resultFlag) 
                { 
                    //Response.Redirect("~/Pages/Parametre/"); 
                } 
                else 
                { 
                    Session["ErrorPage.ErrorMessage"] = "Parametre sayfasında parametre silinmesi sırasında bir hata oluÅŸtu. "; 
                    Session["ErrorPage.PreviousPage"] = Request.Url.PathAndQuery; 
                    Response.Redirect("~/Pages/ErrorPage/?action=error"); 
                } 
            } 
            catch (Exception ex) 
            { 
                System.Diagnostics.Debug.Write(ex.Message);//("Parametre", ex); 
            } 
        } 
 
        protected void gridResult_UpdateCommand(object source, Telerik.Web.UI.GridCommandEventArgs e) 
        { 
            //System.Diagnostics.Debug.Write(ex.Message);//("Parametre", "Event handled.", MessagePriority.NoPrior, MessageType.Trace, ""); 
 
            try 
            { 
                DTO dto = new DTO(); 
                dto[ParametreEntityFields.No] = Convert.ToInt32((e.Item.FindControl("lblNo") as Label).Text); 
                dto[ParametreEntityFields.Ad] = (e.Item.FindControl("txtAd") as RadTextBox).Text; 
                dto[ParametreEntityFields.Aciklama] = (e.Item.FindControl("txtAciklama") as RadTextBox).Text; 
                dto[ParametreEntityFields.AnalizMethodu] = (e.Item.FindControl("txtAnalizMethodu") as RadTextBox).Text; 
                dto[ParametreEntityFields.Birim] = (e.Item.FindControl("txtBirim") as RadTextBox).Text; 
                dto[ParametreEntityFields.Duyarlilik] = (e.Item.FindControl("txtDuyarlilik") as RadNumericTextBox).Text; 
                dto[ParametreEntityFields.Grubu] = (e.Item.FindControl("ddlGrubu") as RadComboBox).SelectedValue; 
 
                bool resultFlag = ParametreBusiness.UpdateEntity(dto); 
 
                if (resultFlag) 
                { 
                    //Response.Redirect("~/Pages/Parametre/"); 
                } 
                else 
                { 
                    Session["ErrorPage.ErrorMessage"] = "Parametre sayfasında parametre güncellemesi sırasında bir hata oluÅŸtu. "; 
                    Session["ErrorPage.PreviousPage"] = Request.Url.PathAndQuery; 
                    Response.Redirect("~/Pages/ErrorPage/?action=error"); 
                } 
            } 
            catch (Exception ex) 
            { 
                System.Diagnostics.Debug.Write(ex.Message);//("Parametre", ex); 
            } 
        } 
 
        protected void gridResult_NeedDataSource(object source, Telerik.Web.UI.GridNeedDataSourceEventArgs e) 
        { 
            gridResult.DataSource = ParametreBusiness.RetrieveCollection();//a list 
        } 

Yavor
Telerik team
 answered on 13 Apr 2010
1 answer
211 views
Hello,

I downloaded the latest internal build tonight of 2010 Q1 (build 409), but after installing it, any page that contains a RadGrid throws the following error.  If I revert to the officially released version, everything works fine.  I got this issue the previous internal build as well, I beileve it was 406, but not the eariler builds between 406 and the official release.

Thanks,
Chris
 

Server Error in '/HRManager' Application.

Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index]
   System.Collections.ArrayList.get_Item(Int32 index) +12658933
   Telerik.Web.UI.GridSortExpressionCollection.GetExpression(String expression) +245
   Telerik.Web.UI.GridColumn.PrepareCell(TableCell cell, GridItem item) +1452
   Telerik.Web.UI.GridItemDecorator.DecorateItem(GridTableView owner, GridColumn[] columnArray) +469
   Telerik.Web.UI.GridMultiRowItem.PrepareItemStyle() +125
   Telerik.Web.UI.RadGrid.PrepareRows(GridTableView view) +163
   Telerik.Web.UI.RadGrid.Render(HtmlTextWriter writer) +78
   Telerik.Web.UI.ControlRenderer.Render(HtmlTextWriter writer) +186
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +246
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +246
   System.Web.UI.UpdatePanel.RenderChildren(HtmlTextWriter writer) +354
   System.Web.UI.UpdatePanel.Render(HtmlTextWriter writer) +110
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +246
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +246
   Telerik.Web.UI.RadPane.RenderContents(HtmlTextWriter writer) +524
   Telerik.Web.UI.RadWebControl.Render(HtmlTextWriter writer) +126
   Telerik.Web.UI.RadSplitter.RenderContents(HtmlTextWriter writer) +238
   Telerik.Web.UI.RadWebControl.Render(HtmlTextWriter writer) +126
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +246
   Telerik.Web.UI.RadPane.RenderContents(HtmlTextWriter writer) +524
   Telerik.Web.UI.RadWebControl.Render(HtmlTextWriter writer) +126
   Telerik.Web.UI.RadSplitter.RenderContents(HtmlTextWriter writer) +238
   Telerik.Web.UI.RadWebControl.Render(HtmlTextWriter writer) +126
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +246
   System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +307
   System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +48
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +246
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +246
   System.Web.UI.Page.Render(HtmlTextWriter writer) +40
   Telerik.Web.UI.RadAjaxControl.RenderPageInAjaxMode(HtmlTextWriter writer, Control page) +667
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +131
   System.Web.UI.Page.Render(HtmlTextWriter writer) +40
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4943


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1
Pavel
Telerik team
 answered on 13 Apr 2010
1 answer
196 views
Good afternoon ladies and gentlemen,

I want to create a Pie chart using a RadChart control as declared below: 

<telerik:RadChart runat="server" ID="RadChart1" DefaultType="Pie" Skin="Office2007"> 
                        <Series> 
                            <telerik:ChartSeries Name="Total" DataLabelsColumn="Name" DataYColumn="Total" Type="Pie" Appearance-LegendDisplayMode="ItemLabels"> 
                                <Appearance> 
                                    <FillStyle FillType="Solid" MainColor="69, 115, 167"> 
                                    </FillStyle> 
                                    <TextAppearance TextProperties-Color="Black"> 
                                    </TextAppearance> 
                                    <Border Color="69, 115, 167" /> 
                                </Appearance> 
                            </telerik:ChartSeries> 
                        </Series> 
                        <PlotArea> 
                            <XAxis AutoScale="False" Step="1"> 
                            <AxisLabel TextBlock-Text="#Y"></AxisLabel> 
                                <Appearance Color="134, 134, 134"> 
                                </Appearance> 
                            </XAxis> 
                            <Appearance Dimensions-Margins="10,10,10,10"> 
                                <FillStyle FillType="Solid" MainColor="255, 255, 255"> 
                                </FillStyle> 
                                <Border Visible="false" /> 
                            </Appearance> 
                        </PlotArea> 
                        <Appearance Border-Visible="false" FillStyle-MainColor="White" /> 
                        <ChartTitle Visible="false" /> 
                        <Legend Visible="true" /> 
                    </telerik:RadChart> 

Is it possible to have the legend display a different data column as opposed to which is specified by DataLabelsColumn?

The reason for this is I want the axis labels to display the totals as specified in the Total column, and have the legend display something meaningful as the Name column.

If I change the DataLabelsColumn to Count, it also modified the Legend text which isn't what I want.  Am I missing something?  The datasource comes from a stored procedure, and is bound via codebehind at runtime.

Thankyou for your assistance,

Regards,
Tyler.
Ves
Telerik team
 answered on 13 Apr 2010
1 answer
85 views
Dear Sir,
I am using binaryimage control in my project after binding from database image is not showing.
hence i have added this line in my web.config file

<add path="Telerik.Web.UI.
WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI" validate="false" />

and it starts working but when i tried it to deploy on my test server, it again starts showing blank. my test server using win 2008, sql server 2008.

Please help Me.
Thanks
Chandan Kumar
Rosen
Telerik team
 answered on 13 Apr 2010
1 answer
130 views

hello.. i m using telerik grid..grid havin three checkbox  in threee columns..i want user can be able to select single checkbox at a time..

  <himani:HimaniGrid ID="EmployeeAttendanceGrid" runat="server" GridLines="None"   
        AutoGenerateColumns="False"   
           onitemcommand="EmployeeAttendanceGrid_ItemCommand"   
           onitemdatabound="EmployeeAttendanceGrid_ItemDataBound">  
<MasterTableView cellspacing="-1">  
<RowIndicatorColumn> 
<HeaderStyle Width="20px"></HeaderStyle> 
</RowIndicatorColumn> 
<ExpandCollapseColumn> 
<HeaderStyle Width="20px"></HeaderStyle> 
</ExpandCollapseColumn> 
<Columns> 
<himani:GridTemplateColumn Visible="false">  
<ItemTemplate> 
    <asp:Label ID="LbEmployeeid" runat="server" Text='<%#Eval("ID")%>'></asp:Label> 
</ItemTemplate> 
</himani:GridTemplateColumn> 
<himani:GridTemplateColumn HeaderText="Employee Name">  
<ItemTemplate> 
    <asp:Label ID="Label2" runat="server" Text='<%#Eval("NAME")%>'></asp:Label> 
</ItemTemplate> 
</himani:GridTemplateColumn> 
 
<himani:GridTemplateColumn HeaderText="Present" > 
<ItemTemplate> 
 <asp:CheckBox ID="ChkPresent" runat="server" /> 
 
</ItemTemplate> 
</himani:GridTemplateColumn> 
<himani:GridTemplateColumn HeaderText="Absent" > 
 
<ItemTemplate> 
    <asp:CheckBox ID="ChkAbsent" runat="server" /> 
</ItemTemplate> 
</himani:GridTemplateColumn> 
<himani:GridTemplateColumn HeaderText="Leave" > 
<ItemTemplate> 
    <asp:CheckBox ID="Chkleave" runat="server" /> 
</ItemTemplate> 
</himani:GridTemplateColumn> 
<himani:GridTemplateColumn> 
<ItemTemplate> 
    <asp:Button ID="btnView" runat="server" Text="View" /> 
</ItemTemplate> 
</himani:GridTemplateColumn> 
</Columns> 
</MasterTableView> 
    </himani:HimaniGrid> 
 
<script language="javascript" type="text/javascript">  
        function check(ChkPresent,ChkAbsent, Chkleave, currentCheckBoxClicked) {  
            var objC1 = document.getElementById(ChkPresent);  
            var objC2 = document.getElementById(ChkAbsent);  
            var objC3 = document.getElementById(Chkleave);  
              
            if (ChkPresent== currentCheckBoxClicked) {  
                objC2.checked = false;  
                objC3.checked = false;  
            }  
            else if (ChkAbsent == currentCheckBoxClicked) {  
                objC1.checked = false;  
                objC3.checked = false;  
            }  
            else if (Chkleave == currentCheckBoxClicked) {  
                objC1.checked = false;  
                objC2.checked = false;  
            }  
        }  
    </script> 
 
 
 
 protected void EmployeeAttendanceGrid_ItemDataBound(object sender, GridItemEventArgs e)  
    {  
        //GridDataItem item = (GridDataItem)(((CheckBox)e.CommandSource).NamingContainer);  
        if(e.Item.ItemType==Himani.Web.UI.GridItemType.AlternatingItem)  
        //if (e.Row.RowType == DataControlRowType.DataRow)  
       {  
            CheckBox c1 = e.Item.FindControl("ChkPresent") as CheckBox;  
            CheckBox c2 = e.Item.FindControl("ChkAbsent") as CheckBox;  
            CheckBox c3 = e.Item.FindControl("Chkleave") as CheckBox;  
 
            c1.Attributes.Add("onclick", "javascript:check('" + c1.ClientID + "','" + c2.ClientID + "','" + c3.ClientID + "',this.id);");  
            c2.Attributes.Add("onclick", "javascript:check('" + c1.ClientID + "','" + c2.ClientID + "','" + c3.ClientID + "',this.id);");  
            c3.Attributes.Add("onclick", "javascript:check('" + c1.ClientID + "','" + c2.ClientID + "','" + c3.ClientID + "',this.id);");  
        }  
 
    }  
 
please reply....in one row i able to select  one checkbox..
in second row it creating problem i able can select all checkbox
Princy
Top achievements
Rank 2
 answered on 13 Apr 2010
7 answers
171 views
Hi All,

I need some help with a date filter.  I want the filter to show a date field with picker.  Acceptable date format: dd/MM/yy.  When the user clicks to filter the EqualTo filter will be used.  I need the filter to work on a dd/MM/yy 00:00:00 - dd/MM/yy 23:59:59 basis and bring back the full day of matching figures - as it stands it would only bering back dd/MM/yy 00:00:00 which is about as useful as a chocolate teapot.

I've seen several similar posts but can't find anything that seems to make sense.  In the future please can the demo section on the site start to include these custom but very useful methods?  Searching through the forums is getting to be a very fustrating exercise.

Thanks in advance for any help,

Jon
Jon
Top achievements
Rank 1
 answered on 13 Apr 2010
2 answers
224 views

We have many clients who ask us to write new software for them.  Some of these clients have their own development people.  I enjoy and advocate using Telerik RadControls for all projects.  But now I need to sell Telerik to my clients as well as my own products and services - and compete head-to-head with the ASP.NET Toolkit freeware.  I'll tell you what I have done.  What do the rest of you do?

For the uninitiated client/prospect, I have had to essentially put together my own marketing materials for RadControls.  I have to explain why we choose to use this kit over freeware/default ASP.NET components.  I cite benefits like outstanding support, faster development, more built-in features, a much more attractive final product, and a much better end-user experience.  I invite clients and prospects to an online demo where I take them on a tour through the telerik.com demos.  I show them screenshots of existing projects and profile features of RadGrid, the calendar, windows, rapid skinning, and other "sizzle".

The only downside to using RadControls is the cost. If my clients want to maintain the code produced for them, they will need to purchase RadControls and ongoing maintenance.  That's no big deal unless they have a team of developers and no major need for  RadControls.  Another "truth be told" reality is that RadControls require a lot of time and patience to learn - that actually makes initial development more costly, though I believe the rewards are worth the investment.

So I need to pitch my for-fee, "takes some time to understand" toolkit against free and open source tools used by the other 90% of the world.  That's sometimes tough.

Since we're here, I often also feel as though I'm providing free Marketing for Telerik when I may not get anything but a development gig out  of it.  After all of my extra sales effort I don't even get a commission from product or support fees.  Sure, the points are nice but hardly commensurate with the effort, and quite frequently people will just go and purchase software later without telling anyone - Telerik may have sold a dozen licenses based on my free marketing for them without me or anyone else here getting a single point.

So how do you other developers "sell" this, and does anyone else care about this last situation?

Thanks for your time.

Donna
Telerik team
 answered on 13 Apr 2010
1 answer
210 views
I have a very long ASPX page with a pop-up RadWindow that displays when page is loaded. I want this window to move along with the page as user scrolls down the page. So I added "PIN" in the behavior property and it works.

I also want the user to be able to move and/or resize the pop-up window. But I want the user NOT to be able to drag/resize the window beyond the browser boundary. I can't use RestrictedZoneID property of the RadWindow.

I tried looking for sample but I couldn't fine one. Is there a way to achieve this? If yes, how? Please let me know asap.

Thanks
Georgi Tunev
Telerik team
 answered on 13 Apr 2010
1 answer
63 views
HI,

We are looking at upgrading from Visual Studio 2008 to Visual Studio 2010 and our question is if we can do this and still use and build our ASP.NET web apps using the Telerik ASP.NET Ajax 2009.Q3 1314 components?

We are not looking for building for dotnet 4.0.

Regards
Fredrik
T. Tsonev
Telerik team
 answered on 13 Apr 2010
1 answer
163 views
Hi,

I am having Tabstrip which contains 4 tabs. By Default I need to display the 3 tab. I tries setting the selected index value to 3 but only 3rd tab will get selected it is corrsponding RadPageView is not getting displayed.

How to set thrid tab display by default?
Shinu
Top achievements
Rank 2
 answered on 13 Apr 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?