Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
141 views
Hi,

I have a page and a user control. The aspx page has an ajax manager and fires a loading animation when controls are clicked on this aspx page.

However, the user control which is loaded into a panel (Main_PH which is ajax!) does not fire the loading animation etc when any items in the user control ascx are clicked!

Below is the aspx code:

......
  
<telerik:RadCodeBlock ID="Default_RadCodeBlock" runat="server">
  
        <script src="Javascript/Jquery/jquery-1.2.3.pack.js" type="text/javascript"></script>
        <script src="Javascript/Jquery/jquery.jclock-2.1.1.js" type="text/javascript"></script>
  
        <script type="text/javascript"
  
........
  
            <!-- set up clock -->
            $(function($) {
                $('.jclock').jclock();
            });
  
        </script>
  
        <!-- Loading Panel -->
        <script src="Javascript/Loading Panel/Loading_Panel.js" type="text/javascript"></script>
  
        <!-- Delete Department RadConfirm Prompt -->
        <script src="Javascript/Telerik/Delete_Department_RadConfirm.js" type="text/javascript"></script>
  
  
    </telerik:RadCodeBlock>
      
</head>
<body id="home">
<form id="Default_Master_Form" runat="server">
  
    <telerik:RadScriptManager ID="Default_ScriptManager" runat="server" />
  
  
    <telerik:radwindowmanager id="RadWindowManager1" runat="server" Skin="Default" Animation="Fade" AnimationDuration="300" DestroyOnClose="True"></telerik:radwindowmanager>
  
  
    <telerik:RadAjaxManager ID="Default_RadAjaxManager" runat="server" 
        DefaultLoadingPanelID="Default_RadAjaxLoadingPanel">
        <AjaxSettings>
  
        <telerik:AjaxSetting AjaxControlID="Main_PH">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="Main_PH" LoadingPanelID="Default_RadAjaxLoadingPanel">
                    </telerik:AjaxUpdatedControl>
                </UpdatedControls>
            </telerik:AjaxSetting>
  
            <telerik:AjaxSetting AjaxControlID="LinkButton_MM_Inbox">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="Loading_Panel" LoadingPanelID="Default_RadAjaxLoadingPanel">
                    </telerik:AjaxUpdatedControl>
                </UpdatedControls>
            </telerik:AjaxSetting>
  
  
              
  
        </AjaxSettings>
    </telerik:RadAjaxManager>
  
    <telerik:RadAjaxLoadingPanel ID="Default_RadAjaxLoadingPanel" runat="server" Skin="Default"/>

<!-- main content area -->
  
                <asp:PlaceHolder ID="Main_PH" runat="server"></asp:PlaceHolder>
  
........


The user control code:

<telerik:RadAjaxManagerProxy ID="RadAjaxManagerProxy_Admin" runat="server">
   <AjaxSettings>
  
       <telerik:AjaxSetting AjaxControlID="LinkButton_ADMIN_CompanySetup">
           <UpdatedControls>
               <telerik:AjaxUpdatedControl ControlID="Loading Panel" LoadingPanelID="Default_RadAjaxLoadingPanel"/>
           </UpdatedControls>
       </telerik:AjaxSetting>
  
   </AjaxSettings>
</telerik:RadAjaxManagerProxy>

Does anyone know what I'm doing wrong? Any help is much appreciated.

Thanks,

Sunny
Dimo
Telerik team
 answered on 20 Aug 2010
6 answers
155 views
Hello Admin

     I  downloaded Q2 2010 (version 2010.2.713)  demo version.  I created Layout listview like http://demos.telerik.com/aspnet-ajax/grid/examples/programming/listview/defaultcs.aspx .  it's working fine. but When I set EnableSEOPaging=true, the layout will not working. when I clicked next page or numeric page. the layout not correct.

    I need your help. maybe it's bug.

   I will waiting for your reply. Thank you
Dimo
Telerik team
 answered on 20 Aug 2010
17 answers
1.1K+ views
I'm currently using the trial version of RadControls for ASP.NET.  What I'm trying to do is insert a web control into a GridTemplateColumn in the MasterTableView in the RadGrid control.  All works out fine, but the one thing that I've been trying to get to work is to not have the horizontal scrolling.  I've tried everything from the forums of using the NoPadding CSS to add to the tables, the RadGrid, and even the template columns and everything.  Nothing seems to work.  The one thing that I did find interesting was that if I don't use the NoPadding CSS and leave the cellspacing and cellpadding properties to the defaults, when I do get the message " Telerik.Web.UI 2009.1.527.20 trial version. Copyright telerik © 2002-2009. To remove this message, please purchase a developer version.", everything seems to fit in the RadGrid just fine (no horizontal scrolling).  Is this because I have a trial version?

I can set the percentage width of the MasterTableView to like 95% and that will make it so that there is no horizontal scrolling, but when I do the drag and drop, I have all that white space on the right because the row doesn't fill up the entire table row.

Can someone help me get going in the right direction?

Thanks in advance.
Kai Thao
Dimo
Telerik team
 answered on 20 Aug 2010
2 answers
208 views
I am trying to use filter property for which i got a suggestion to use this thread
http://www.telerik.com/help/aspnet-ajax/combo-select-existing-item.html suggested by Yana from Telerik Team.
My requirement was i wanted to restrict user from entering text which is not in a display member of combobox items.
<telerik:RadComboBox ID="radProject" AllowCustomText="false" AccessibilityMode="false" AutoPostBack="true" 
                         runat="server" DropDownWidth="240px" onselectedindexchanged="radProject_SelectedIndexChanged" 
                         EnableLoadOnDemand="false" MarkFirstMatch="true" ondatabinding="radProject_DataBinding" Skin="Web20" 
                         Filter="Contains" OnClientBlur="OnClientBlurHandler"
                </telerik:RadComboBox>

so lets say i have two items in my combobox list lets say India and Spain when i type in S, Spain is fitered and it is highlighted and onSelectedindexchanged kicks in. But lets say i type in Mexico or something and it is not in the list and onSelectedindexchanged i am getting this exception stating Object reference not set to an instance of an object.
If i st EnableLoadOnDemand = true then this exception is not encountered but the combobox just takes the first item as the selected item and onSelectedindexchanged kicks in and it is redirected to the next page, but i don't want this, i want to restrict the user from entering text that is not a display member of combobox items.
I am in need of any asistance from any of you guys out there, tell me if i am doing some mistake or how can i go about solving the current predicament that i am in.
Thanks in advance.
Senthil ramna
Top achievements
Rank 1
 answered on 20 Aug 2010
0 answers
82 views
When I edit or insert a new row, I don't get feedback when an update/insert fails.  Any help would be appreciated.

My grid code looks like the following:
<asp:Content ContentPlaceHolderID="MainContent" runat="server">
<div style="margin: 10px 0px;">Article - Grid View</div>
<%= Html.Telerik().Grid<Article>()
        .Name("Grid")
        .DataKeys(keys => keys.Add(p => p.article_id))
        .ToolBar(commands => commands.Insert())
        .DataBinding(dataBinding => dataBinding.Ajax()
            .Select("_SelectAjaxEditing", "ArticleGridView")
            .Insert("_InsertAjaxEditing", "ArticleGridView")
            .Update("_SaveAjaxEditing", "ArticleGridView")
            .Delete("_DeleteAjaxEditing", "ArticleGridView"))
        .Columns(columns =>
        {
            columns.Bound(p => p.CategoryInitials).Title("Cat");
            columns.Bound(p => p.description).Width(130);
            columns.Bound(p => p.ColorName);
            columns.Bound(p => p.Cash);
            columns.Bound(p => p.registration_number).Title("Article #");
            columns.Bound(p => p.route);
            columns.Bound(p => p.BinName);
            columns.Bound(p => p.DivisionName);
            columns.Bound(p => p.DateLost);
            columns.Command(commands =>
            {
                commands.Edit();
            }).Title("Commands");
        })
        .Pageable(p => { p.PageSize(20); })
%>
 
<%= Html.Telerik().ScriptRegistrar() %>
</asp:Content>


My controller looks like the following:
[HttpPost]
[GridAction]
public ActionResult _SaveAjaxEditing(int id, FormCollection collection)
{
   var article = Article.Load(id);
  
   if (!string.IsNullOrEmpty(collection["description"])) {
      article.description = collection["description"];
   } else {
      ModelState.AddModelError("description", "description cannot be empty.");
   }
   article.ColorName = collection["ColorName"];
   article.cash = collection["cash"];
   article.registration_number = collection["registration_number"];
   article.route = collection["route"];
   article.BinName = collection["BinName"];
   article.DivisionName = collection["DivisionName"];
    
   DateTime d;
   if (DateType.TryParse(collection["date_lost"], d)) {
      article.date_lost = collection["date_lost"];
   } else {
      ModelState.AddModelError("date_lost", "invalid date.");
   }
      
   article.Save();
  
   return View(new GridModel(Article.FetchAll()));
}

(TryUpdateModule method keeps throwing an "An item with the same key has already been added." exception, so that's why I'm not using it.)

James
James Lam
Top achievements
Rank 2
 asked on 19 Aug 2010
11 answers
879 views
Hello,

I am exporting data to CSV.
Some of my data contains leading zeros (U.S. postal codes for NJ and MA).
When opening the CSV file in excel, the leading zeros are dropped and thereby leaving an incorrect postal code.

Your documentation mentions the following:
Microsoft Excel parses the cell values automatically depending on the local settings. For example the string 19/05 might change to 19.May automatically. The only workaround would be to insert a sign of equality (=) before the relevant string. For example: "012"  should be modified as  ="012".

Is there a way to modify the string as you suggest in code when exporting the grid data to CSV?
Or is this a manual process the user must perform to the CSV file prior to opening in excel?

Thanks,
Jon
Kellen
Top achievements
Rank 1
 answered on 19 Aug 2010
1 answer
143 views
I am using version 2009.3.1314.35 of the Telerik tools.

Whenever I click on a node and retrieve data back from the database and want to place that data on the screen (outside the TreeView), the screen is not populated with that data.

I have the following markup in a RadAjaxManager which should AJAXify the TreeView.
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="RadTreeView1">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadTreeView1" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>  

If I take the above HTML out of the markup, the population of the data on the screen works fine (this, however, is a non-AJAXified resolution). I even tried just placing the Treeview within a RadUpdatePanel and the same result happened.

Here is my codebehind for the event.

protected void RadTreeView1_OnNodeClick(object sender, Telerik.Web.UI.RadTreeNodeEventArgs e)
        {
            var query = from f in DbContext.Facilities
                        from m in DbContext.Maps
                        from md in DbContext.MapDetails
                        from ms in DbContext.MapStatus
                        where f.FacilityID == m.FacilityID
                           && m.Mapid == md.MapID
                           && m.MapStatusID == ms.mapStatusID
                           && md.MapFieldID == int.Parse(e.Node.Value)
                           && f.IsActive == true
                           && m.IsActive == true
                           && md.IsActive == true
                        select new
                        {
                            m.Facility.FacilityName,
                            m.FileType.Description,
                            m.IsMultiRecordType,
                            m.FirstRecordIndicator,
                            m.RecordIndicatorStartPosition,
                            m.RecordIndicatorEndPosition,
                            m.Delimiter,
                            m.MapStatusID,
                            mapstatusdesc = ms.Description,
                            md.MapDetailID,
                            md.MapID,
                            md.MapFieldID,
                            md.StartPosition,
                            md.EndPosition,
                            md.RecordIndicator,
                            md.DataFormat,
                            md.IsComposite,
                            md.CompositeSeparator,
                            md.SpecialCharactersRemoval,
                            md.WhenStartPosition,
                            md.WhenEndPosition,
                            md.WhenRecordIndicator,
                            md.WhenCompareID,
                            md.WhenCompareValue
                        };

            foreach (var q in query)
            {
                // Retrieve Header Info
                Label facilityname = mapHeader1.FindControl("facility") as Label;
                facilityname.Text = q.FacilityName;
                Label filetype = mapHeader1.FindControl("FileType") as Label;
                filetype.Text = q.Description;
                Label startpos = mapHeader1.FindControl("startPos") as Label;
                startpos.Text = q.RecordIndicatorStartPosition.ToString();
                Label endpos = mapHeader1.FindControl("endPos") as Label;
                endpos.Text = q.RecordIndicatorEndPosition.ToString();
                CheckBox MRT = mapHeader1.FindControl("MRT") as CheckBox;
                MRT.Checked = q.IsMultiRecordType;
                Label delimiter = mapHeader1.FindControl("delimiter") as Label;
                delimiter.Text = q.Delimiter.ToString();
                Label testProd = mapHeader1.FindControl("testProd") as Label;
                testProd.Text = q.mapstatusdesc;

                // Retrieve Detail Info
                recordIndicator.Text = q.RecordIndicator;
                startPosition.Text = q.StartPosition.ToString();
                endPosition.Text = q.EndPosition.ToString();
                ddlDataFmt.SelectedItem.Text = q.DataFormat;
                chkCompositeField.Checked = q.IsComposite;
                txtSeparator.Text = q.CompositeSeparator;
                txtSpecialCharRemoval.Text = q.SpecialCharactersRemoval;
                whenStartPosition.Text = q.WhenStartPosition.ToString();
                whenEndPosition.Text = q.WhenEndPosition.ToString();
                whenRecordIndicator.Text = q.WhenRecordIndicator;

                if (q.WhenCompareID == null)
                    drpCompare.SelectedValue = "0";
                else
                    drpCompare.SelectedValue = q.WhenCompareID.ToString();

            }
        }


According to the below directions on your website for using AJAX with the Treeview, the above solution should work fine:

Make telerik RadTreeView work with AJAX requests (Ajax-enable Telerik RadTreeView)
You can ajaxify any member of the telerik RadControls for ASP.NET suite. The ajax-enabled control will work in AJAX mode and will perform callback requests instead of regular postbacks.

To do so, you have two possible options:

place the instance of RadTreeView into an AjaxPanel - in this case, the control will update itself and all other controls in the panel via AJAX request
place one AJAX Manager on the page and in its property builder set the AJAX pair, i.e. AJAX initiator and the updated control. In this case, as we want Telerik RadTreeView to update itself with AJAX, it should be set as initiator and updated control.


Please post a solution as soon as you can for this.

Below, is the rest of the HTML for the page just in case you need it for additonal evaluation. Fyi, the Treeview is on the left side of the page and the population of the data occurs in the middle of the page with some simple textboxes, etc.

Thanks in advance,

Bill.

<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="RadTreeView1">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadTreeView1" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>  

<body>
        <center>
            <form name="theform">
            <div>
                <table id="Table5" width="100%" cellpadding="1" cellspacing="1" border="0">
                    <tr valign="top">
                        <td width="90%">
                            <uc1:mapHeader ID="mapHeader1" runat="server" />
                            <br />
                        </td>
                        <td>
                            <fieldset>
                                <legend>Action</legend>
                                <table id="Table6" width="100%" runat="server" cellpadding="1" cellspacing="1" border="0">
                                    <tr>
                                        <td class="td_AEVNoBold" align="center">
                                            <asp:Button ID="btnValidation" runat="server" Text="Validate Map" Width="100px" Height="29px"
                                                OnClick="btnValidation_Click" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="td_AEVNoBold" align="center">
                                            <asp:Button ID="btnExecMap" runat="server" Text="Run Map" Width="100px" Height="29px"
                                                Enabled="false" OnClick="btnExecMap_Click" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="td_AEVNoBold" align="center">
                                            &nbsp;
                                        </td>
                                    </tr>
                                </table>
                            </fieldset>
                        </td>
                    </tr>
                </table>
                <table width="100%" cellpadding="1" cellspacing="1" border="1">
                    <tr valign="top">
                        <td width="15%">
                            <asp:Panel ID="pnlMapFields" runat="server" ScrollBars="Both" Height="430px">
                                <telerik:RadTreeView ID="RadTreeView1" runat="server" DataTextField="Description"
                                        DataFieldParentID="MapFieldparentID" DataFieldID="MapFieldID" DataValueField="MapFieldID"
                                        OnClientNodeClicking="onNodeClicking" CausesValidation="false" OnNodeClick="RadTreeView1_OnNodeClick">
                                    </telerik:RadTreeView>
                            </asp:Panel>
                        </td>
                        <td>
                            <fieldset>
                                <legend>
                                    <asp:Label ID="FieldName" runat="server" Font-Bold="true" ForeColor="Blue"></asp:Label></legend>
                                <br />
                                <table id="Table1" width="100%" runat="server" cellpadding="1" cellspacing="1">
                                    <tr valign="top">
                                        <td colspan="2">
                                            <table id="Table7" width="100%" runat="server" cellpadding="1" cellspacing="1">
                                                <tr valign="top">
                                                    <td class="td_AEVNoBold" width="15%">
                                                        Mapping Field Name:
                                                    </td>
                                                    <td class="td_AEVNoBold">
                                                        <asp:Label ID="MappingField" runat="server" Font-Bold="true"></asp:Label>&nbsp (
                                                        <asp:Label ID="mapValue" runat="server" Font-Bold="true" ForeColor="blue"></asp:Label>
                                                        &nbsp;)
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td colspan="2">
                                                        <asp:TextBox ID="txtRec" runat="server" Width="100%" onMouseUp="mouseUP();"></asp:TextBox>
                                                    </td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                    <tr valign="top">
                                        <td width="50%">
                                            <table id="Table3" width="100%" runat="server" cellpadding="1" cellspacing="1">
                                                <tr valign="top">
                                                    <td class="td_AEVNoBold">
                                                        Record Indicator:
                                                    </td>
                                                    <td class="td_AEVNoBold">
                                                        <asp:TextBox ID="recordIndicator" runat="server" Width="50px" Enabled="false"></asp:TextBox>
                                                    </td>
                                                    <td>
                                                        <asp:RequiredFieldValidator ID="rfvRecdIndicator" runat="server" ErrorMessage="Record Indicator required ONLY for Multiple records!"
                                                            ControlToValidate="recordIndicator" Font-Bold="true" Enabled="false"></asp:RequiredFieldValidator>
                                                    </td>
                                                </tr>
                                                <tr valign="top">
                                                    <td class="td_AEVNoBold" width="31%">
                                                        Start Position:
                                                    </td>
                                                    <td class="td_AEVNoBold">
                                                        <telerik:RadNumericTextBox ID="startPosition" runat="server" Type="Number" Width="50px">
                                                            <NumberFormat DecimalDigits="0" />
                                                        </telerik:RadNumericTextBox>
                                                    </td>
                                                    <td>
                                                        <asp:RequiredFieldValidator ID="rfvStartPos" runat="server" ErrorMessage="Start Position required!"
                                                            ControlToValidate="startPosition" Font-Bold="true" Enabled="false"></asp:RequiredFieldValidator>
                                                    </td>
                                                </tr>
                                                <tr valign="top">
                                                    <td class="td_AEVNoBold">
                                                        End Position:
                                                    </td>
                                                    <td class="td_AEVNoBold">
                                                        <telerik:RadNumericTextBox ID="endPosition" runat="server" Type="Number" Width="50px">
                                                            <NumberFormat DecimalDigits="0" />
                                                        </telerik:RadNumericTextBox>
                                                    </td>
                                                    <td>
                                                        <asp:RequiredFieldValidator ID="rfvEndPos" runat="server" ErrorMessage="End Position required!"
                                                            ControlToValidate="endPosition" Font-Bold="true" Enabled="false"></asp:RequiredFieldValidator>
                                                    </td>
                                                    <td>
                                                        <asp:CompareValidator ID="cvStartEndPos" runat="server" ErrorMessage="End Position cannot be less than Start Position!"
                                                            ControlToValidate="startPosition" ControlToCompare="endPosition" Operator="LessThanEqual"
                                                            Type="Integer" Font-Bold="true"></asp:CompareValidator>
                                                    </td>
                                                </tr>
                                                <tr valign="top">
                                                    <td class="td_AEVNoBold">
                                                        Data Format:
                                                    </td>
                                                    <td class="td_AEVNoBold">
                                                        <asp:DropDownList ID="ddlDataFmt" runat="server" DataSourceID="LinqFieldTypeID" DataTextField="FieldTypeDesc"
                                                            DataValueField="FieldTypeID" AppendDataBoundItems="true">
                                                            <asp:ListItem Selected="True" Text="Select" Value=""></asp:ListItem>
                                                        </asp:DropDownList>
                                                        <asp:LinqDataSource ID="LinqFieldTypeID" runat="server" ContextTypeName="DataNet.Data.dataNetDataContext"
                                                            Select="new (FieldTypeDesc,FieldTypeID)" TableName="FieldTypes">
                                                        </asp:LinqDataSource>
                                                    </td>
                                                    <td>
                                                        <asp:RequiredFieldValidator ID="rfvDataFmt" runat="server" ErrorMessage="Data Format required!"
                                                            ControlToValidate="ddlDataFmt" Font-Bold="true"></asp:RequiredFieldValidator>
                                                    </td>
                                                </tr>
                                            </table>
                                        </td>
                                        <td width="50%">
                                            <table id="Table4" width="100%" runat="server" cellpadding="1" cellspacing="1">
                                                <tr valign="top">
                                                    <td class="td_AEVNoBold" width="30%">
                                                        Is a Composite Field:
                                                    </td>
                                                    <td class="td_AEVNoBold">
                                                        <asp:CheckBox ID="chkCompositeField" runat="server" AutoPostBack="true" OnCheckedChanged="chkCompositeField_OnCheckedChanged" />
                                                    </td>
                                                </tr>
                                                <tr valign="top">
                                                    <td class="td_AEVNoBold">
                                                        Separator:
                                                    </td>
                                                    <td class="td_AEVNoBold">
                                                        <asp:TextBox ID="txtSeparator" runat="server" Width="50px"></asp:TextBox>
                                                        <asp:RequiredFieldValidator ID="rfvSeparator" runat="server" ErrorMessage="Separator required when Composite selected!"
                                                            ControlToValidate="txtSeparator" Font-Bold="true" Enabled="false"></asp:RequiredFieldValidator>
                                                    </td>
                                                </tr>
                                                <tr valign="top">
                                                    <td class="td_AEVNoBold" width="15%">
                                                        Map Sequence:
                                                    </td>
                                                    <td class="td_AEVNoBold">
                                                        <telerik:RadNumericTextBox ID="txtMapSeq" runat="server" Width="50px">
                                                            <NumberFormat DecimalDigits="0" />
                                                        </telerik:RadNumericTextBox>
                                                        <asp:RequiredFieldValidator ID="rfvMapSeq" runat="server" ErrorMessage="Map Sequence required when Composite selected!"
                                                            ControlToValidate="txtMapSeq" Font-Bold="true" Enabled="false"></asp:RequiredFieldValidator>
                                                    </td>
                                                </tr>
                                                <tr valign="top">
                                                    <td class="td_AEVNoBold" width="15%">
                                                        Special Characters Removal:
                                                    </td>
                                                    <td class="td_AEVNoBold">
                                                        <asp:TextBox ID="txtSpecialCharRemoval" runat="server"></asp:TextBox>
                                                        <asp:RequiredFieldValidator ID="rfvSpecialCharRemoval" runat="server" ErrorMessage="Special Characters Removal required when Composite selected!"
                                                            ControlToValidate="txtSpecialCharRemoval" Font-Bold="true" Enabled="false"></asp:RequiredFieldValidator>
                                                    </td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                    <tr valign="top">
                                        <td colspan="2">
                                            <fieldset>
                                                <legend><b>ONLY WHEN</b></asp:Label></legend>
                                                <table id="Table2" width="100%" runat="server" cellpadding="1" cellspacing="1">
                                                    <tr valign="top">
                                                        <td class="td_AEVNoBold" width="15%">
                                                            Start Position:
                                                        </td>
                                                        <td class="td_AEVNoBold">
                                                            <telerik:RadNumericTextBox ID="whenStartPosition" runat="server" OnTextChanged="whenStartPosition_OnTextChanged"
                                                                AutoPostBack="true">
                                                                <NumberFormat DecimalDigits="0" />
                                                            </telerik:RadNumericTextBox>
                                                        </td>
                                                        <td>
                                                            <asp:RequiredFieldValidator ID="rfvWhenStartPos" runat="server" ErrorMessage="*When* Start Position required if filling in 1 or more items in this section!"
                                                                ControlToValidate="whenStartPosition" Font-Bold="true" Enabled="false"></asp:RequiredFieldValidator>
                                                        </td>
                                                    </tr>
                                                    <tr valign="top">
                                                        <td class="td_AEVNoBold" width="15%">
                                                            End Position:
                                                        </td>
                                                        <td class="td_AEVNoBold">
                                                            <telerik:RadNumericTextBox ID="whenEndPosition" runat="server" OnTextChanged="whenEndPosition_OnTextChanged"
                                                                AutoPostBack="true">
                                                                <NumberFormat DecimalDigits="0" />
                                                            </telerik:RadNumericTextBox>
                                                        </td>
                                                        <td>
                                                            <asp:RequiredFieldValidator ID="rfvWhenEndPos" runat="server" ErrorMessage="*When* End Position required if filling in 1 or more items in this section!"
                                                                ControlToValidate="whenEndPosition" Font-Bold="true" Enabled="false"></asp:RequiredFieldValidator>
                                                        </td>
                                                        <td>
                                                            <asp:CompareValidator ID="cvWhenStartEndPos" runat="server" ErrorMessage="*When* End Position cannot be less than *When* Start Position!"
                                                                ControlToValidate="whenStartPosition" ControlToCompare="whenEndPosition" Operator="LessThanEqual"
                                                                Enabled="false" Type="Integer" Font-Bold="true"></asp:CompareValidator>
                                                        </td>
                                                    </tr>
                                                    <tr valign="top">
                                                        <td class="td_AEVNoBold" width="15%">
                                                            Record Indicator:
                                                        </td>
                                                        <td class="td_AEVNoBold">
                                                            <asp:TextBox ID="whenRecordIndicator" runat="server" OnTextChanged="whenRecordIndicator_OnTextChanged"
                                                                AutoPostBack="true"></asp:TextBox>
                                                        </td>
                                                        <td>
                                                            <asp:RequiredFieldValidator ID="rfvWhenRecdInd" runat="server" ErrorMessage="*When* Record Indicator required ONLY for Multiple records if filling in 1 or more items in this section!"
                                                                ControlToValidate="whenRecordIndicator" Font-Bold="true" Enabled="false"></asp:RequiredFieldValidator>
                                                        </td>
                                                    </tr>
                                                    <tr valign="top">
                                                        <td class="td_AEVNoBold" width="15%">
                                                            Compare:
                                                        </td>
                                                        <td class="td_AEVNoBold">
                                                            <asp:DropDownList ID="drpCompare" runat="server" Enabled="false">
                                                                <asp:ListItem Value="0" Text="Equal To" Selected="True"></asp:ListItem>
                                                                <asp:ListItem Value="1" Text="Not Equal To"></asp:ListItem>
                                                                <asp:ListItem Value="2" Text="Greater Than"></asp:ListItem>
                                                                <asp:ListItem Value="3" Text="Greater Than and Equal To"></asp:ListItem>
                                                                <asp:ListItem Value="4" Text="Less Than"></asp:ListItem>
                                                                <asp:ListItem Value="5" Text="Less Than and Equal To"></asp:ListItem>
                                                            </asp:DropDownList>
                                                        </td>
                                                        <td>
                                                            <asp:RequiredFieldValidator ID="rfvCompare" runat="server" ErrorMessage="*When* Compare required ONLY for Multiple records if filling in 1 or more items in this section!"
                                                                ControlToValidate="drpCompare" Font-Bold="true" Enabled="false"></asp:RequiredFieldValidator>
                                                        </td>
                                                    </tr>
                                                    <tr valign="top">
                                                        <td class="td_AEVNoBold" width="15%">
                                                            Value:
                                                        </td>
                                                        <td class="td_AEVNoBold">
                                                            <asp:TextBox ID="value" runat="server" OnTextChanged="whenvalue_OnTextChanged" AutoPostBack="true"></asp:TextBox>
                                                        </td>
                                                        <td>
                                                            <asp:RequiredFieldValidator ID="rfvValue" runat="server" ErrorMessage="*When* Value required ONLY for Multiple records if filling in 1 or more items in this section!"
                                                                ControlToValidate="value" Font-Bold="true" Enabled="false"></asp:RequiredFieldValidator>
                                                        </td>
                                                    </tr>
                                                </table>
                                            </fieldset>
                                        </td>
                                    </tr>
                                    <tr valign="top">
                                        <td class="td_AEVNoBold" width="15%">
                                            &nbsp;
                                        </td>
                                        <td class="td_AEVNoBold">
                                            <asp:Button ID="Save" runat="server" Text="Save" Width="150" OnClick="Save_Click" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td colspan="2">
                                            <asp:Panel ID="Data" runat="server" GroupingText="Data" Width="100%">
                                                <asp:ListBox ID="lstData" runat="server" Width="100%" Font-Size="XX-Small" onchange="lstData_onClick();">
                                                </asp:ListBox>
                                            </asp:Panel>
                                        </td>
                                    </tr>
                                </table>
                            </fieldset>
                        </td>
                    </tr>
                </table>
            </div>
            </form>
        </center>
    </body>

Bill
Top achievements
Rank 2
 answered on 19 Aug 2010
2 answers
509 views
I want my grid to group by column which contains Date but group not by day but months so items (invoices) are grouped monthly.
tomekm
Top achievements
Rank 1
 answered on 19 Aug 2010
3 answers
154 views
hi,

Have any separate radcombo box like change skin combo box of Telerik demo page  ( http://demos.telerik.com/aspnet-ajax/combobox/examples/default/defaultcs.aspx ) ?
If yes tell me the radcombobox type.

Regards
Joseph.S
Joseph
Top achievements
Rank 1
 answered on 19 Aug 2010
4 answers
210 views
I have a simple page with only one grid on the page. In the Markup I have EnableEmbededSkins="True" and Skin="WebBlue". Now, when my page renders no skin theme style is applied, not even default. I view source on the page and see that is skin is being set for the Grid. All I am getting is a skinless grid? Please assist.

Thanks,


Steve Holdorf
Steve Holdorf
Top achievements
Rank 1
 answered on 19 Aug 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?