Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
76 views
Hi,
I have an issue with XmlHttpPanel.Here I need to upload a file using FileUpload control.When i try to access the FileUpload from the ServiceRequest event of XmlHttpPanel the FileName of FileUpload(FileUpload1.FileName)becomes null.We have the same issue with RadAjaxManager also.Right now I need a solution for  XmlHttpPanel.So please help me with a solution.

 

Pero
Telerik team
 answered on 19 May 2010
5 answers
160 views
I have a RadComboBox in a GridTemplateColumn.  When I set the custom skin, the "Contains" filter no longer works.  I will start typing and the dropdownlist doesn't start filtering.  If I hit backspace in the text, then it filters.  If I remove my custom skin and use the default embedded skin, then the filtering works as I type.

My combobox is:
<rad:RadComboBox ID="ddlItems" runat="server" Width="250" Filter="Contains" EmptyMessage="Choose an item:" 
   DataSourceID="dsItems" DataTextField="Item" DataValueField="Id" Skin="Custom" EnableEmbeddedSkins="false" AllowCustomText="true">  
</rad:RadComboBox> 

I copied the ComboBox.Office2007.css stylesheet, renamed it ComboBox.Custom.css, added a link reference to my page and then the only thing I modified was
.RadComboBox_Custom td.rcbInputCellLeft { background-position: 0 200; }  
.RadComboBox_Custom td.rcbArrowCellLeft { background-position: 0 200; }  
.RadComboBox_Custom td.rcbArrowCellRight { background-position: 0 200; } 
just to bump the images off so the ComboBox has the appearance of a label when it's not being used.  Every other style I left the same.

Any idea why the Contains filter isn't working anymore?
Simon
Telerik team
 answered on 19 May 2010
1 answer
113 views
Hi,

I'm getting this error a lot working with the ajax telerik controls:

Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed. Common causes for this error are when the response is modified by calls to Response.Write(), response filters, HttpModules, or server trace is enabled.
Details: Error parsing near 'Telerik.Web.UI 2010.'.

any idea?

Thank you,
Robert
Iana Tsolova
Telerik team
 answered on 19 May 2010
0 answers
146 views
Hi,

this is shanker i do one project am using windows7 skin in telrik .but i face this Telerik.Web.UI.WebResource size .this file size in my project 860kb that relative page have radgrid ,total screen taking 990 kb how to reduce that size .am using radscriptmanager and radstlyesheetmanagerin master page and in .aspx using RadAjaxManagerProxy.And also am using radcompression in my webconfig file .please how to reduce that .please give me any solution.am trying also cdn but no use . 

i am using this type 

in masterpage 

 <telerik:RadStyleSheetManager ID="RadStyleSheetManager1" runat="server">
    </telerik:RadStyleSheetManager>
    <telerik:RadScriptManager ID="scm" runat="server" ScriptMode="Release"  >
    </telerik:RadScriptManager>

.aspx page

<telerik:RadAjaxManagerProxy ID="radAjProxy" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="fiscalGrid">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="fiscalGrid" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManagerProxy>

thanks and regards

shanker.B
shanker bangari
Top achievements
Rank 1
 asked on 19 May 2010
7 answers
532 views
I have been working with this issue for a couple of days now with not much success. I have an application that keeps tracks of permits for municipalities. I have different tabs/pages for the different parts of the permit. On the Site tab, I have RadNumericTextBox set up for the Area, the issue I am having is this say I enter 245.0123, then go to a different tab so it will save it into the database. I come back and everything is the same. I navigate to different tab again, and when I check the database it has now saved it as 245.1230. It only seems to do it if there is a 0 next to the decimal, if there is any other number there it works fine and it doesn't change the number. Any help would be greatly appreciated.

    function stripNumbersAfter4Decimals(sender, args)
    {
        var val = String(args.get_newValue());
        if (val.length - val.indexOf('.') > 4)
            args.set_newValue(val.substr(0, val.indexOf('.') + 5));
    }

<telerik:RadNumericTextBox ID="rnumArea" runat="server" MinValue="0" Type="Number" Width="140px" ClientEvents-OnValueChanging="stripNumbersAfter4Decimals">
                            <NumberFormat DecimalDigits="4" KeepNotRoundedValue="false" />
</telerik:RadNumericTextBox>
Dimo
Telerik team
 answered on 19 May 2010
1 answer
111 views

 

Hi, 

      I am using RadDock. I am using this like as follows...

<
telerik:RadDock ID="RadDock1" DefaultCommands="ExpandCollapse" runat="server" Title="Parts" Pinned ="true" Width="820" DockHandle="TitleBar">

 

 

 

<ContentTemplate>

 

 

 

<table>

 

 

 

Using control hare like "Grid Control" and other control in itemtemplate of the grid like this "radUpload:RadUploadProgressArea"

</table>

 

 

 

 

</ContentTemplate>

 

 

 

</telerik:RadDock>

But this is giving me error on design time :- 

Error Creating Control- RadDock1
The control collection cannot be modified during DataBind,Init,Load,PreRender or Upload Phases.

And one more think When i am making 

 

Collapsed

=true  This is giving javascript error on run time.

Please help me in the case


Thanks,

Ted.

 

 

Pero
Telerik team
 answered on 19 May 2010
1 answer
63 views
This issue occurs occasionally, not always, so before I post code, here's the essence of the issue:
   I have a RadGrid displaying customer name and address data.  If I filter by address ("Starts With"), and attempt to edit one of the filtered rows, I might find myself editing the next row in the table instead of the one I clicked on.
   Some information that might be related:
   - the most recent occurrence happened when the two customers (the one I clicked on and the one for whom I was presented the edit control) both had the same name.  I had filtered by address, "starts with", on the first three characters of the address.
   - the two customers in this case were the next to last and last on the page (the grid is set to page, not scroll through the entire dataset)
   - on subsequent refreshes of the page, the order in which these two customers were presented changes.  Their addresses are different, but the first three characters (my filter criteria) were the same.
   - when debugging, I could see that in the ItemCommand event, e.Item.ItemIndex was pointing to the fourth row (the one I intended to change), but e.Item.OwnerTableView.DataKeyValues[e.Item.Index][" my customer key as defined for the grid "] was giving me the ID of the fifth row - the row it gave me to edit.

   Has anyone else seen this and is there a solution?  I can post code if necessary.
      Ben
Radoslav
Telerik team
 answered on 19 May 2010
1 answer
119 views
This one is odd.  I have a date time picker on a page with a grid.  When you mouse over the the datetime picker, the grid repaints.  This causes the grid column lines to redraw and makes the grid appear to flash.  More importantly, this causes an Ajax call every time the user mouses over the datetime picker.

Is this a known issue and is there any way around it?

Here is the code for my page:

Main Page:
....

 

<asp:Panel ID="divManageContainersHeader" runat="server" CssClass="MedPurpleBackground" Height="32px" Width="100%">

 

 

<div style="float: left; margin: 9px 0px 0px 7px; width: 70px;">

 

 

<asp:Label runat="server" ID="lblFacilityId" Text="<%$ Resources:Common, Facility %>"

 

 

ForeColor="White" TabIndex="-1" Font-Bold="true" />

 

 

</div>

 

 

<div style="float: left; margin: 5px 0px 0px 7px; width: 125px;">

 

 

<telerik:RadComboBox runat="server" ID="cbxFacilityId" MaxHeight="150" Width="150px"

 

 

EnableTextSelection="true" AllowCustomText="false" MarkFirstMatch="true" TabIndex="1"

 

 

Height="15" AutoPostBack="true"/>

 

 

</div>

 

 

</asp:Panel>

 

 

<div id="divManageContainersTabbedSection" class="RestrictedWidth" style="width: 100%;">

 

 

<telerik:RadTabStrip ID="rtsManageContainers" runat="server" Skin="Purple" EnableEmbeddedSkins="false"

 

 

Width="100%" SelectedIndex="0" MultiPageID="rmpManageContainers" Orientation="HorizontalTop"

 

 

Style="background-color: Gray" TabIndex="-1" OnClientTabSelecting="onTabSelecting"/>

 

 

<telerik:RadMultiPage ID="rmpManageContainers" runat="server" SelectedIndex="0">

 

 

<telerik:RadPageView runat="server">

 

 

<mcp:ManageContainersProcessing ID="ProcessingTab" runat="server" />

 

 

</telerik:RadPageView>

 

 

<telerik:RadPageView runat="server">

 

 

<mct:ManageContainersTransfer ID="TransferTab" runat="server" />

 

 

</telerik:RadPageView>

 

 

<telerik:RadPageView runat="server">

 

 

<mcw:ManageContainersWeigh ID="WeighTab" runat="server" />

 

 

</telerik:RadPageView>

 

 

</telerik:RadMultiPage>

 

 

</div>

 

...

ManageContainer Weigh User control (the one that is repainting):
...

 

<div id="divFirstLineFilters" style="float: left; width: 100%;">

 

 

<div style="float: left; margin-top: 5px; margin-left: 7px; width: 40px;">

 

 

<asp:Label runat="server" ID="lblStatus" CssClass="FieldFont1" ForeColor="Black"

 

 

Text="<%$ Resources:Common, Status %>" />

 

 

</div>

 

 

<div style="float: left; margin-top: 5px; margin-left: 7px; width: 160px;">

 

 

<telerik:RadComboBox runat="server" ID="cbxStatus" MaxHeight="150" Width="150px"

 

 

EnableTextSelection="true" AllowCustomText="false" MarkFirstMatch="true" TabIndex="1"

 

 

Height="15" />

 

 

</div>

 

 

<div style="float: left; margin-top: 5px; margin-left: 7px;">

 

 

<asp:Label runat="server" ID="lblWeighStation" CssClass="FieldFont1" ForeColor="Black"

 

 

Text="<%$ Resources:Common, Weigh Station %>" />

 

 

</div>

 

 

<div style="float: left; margin-top: 5px; margin-left: 5px; width: 150px;">

 

 

<telerik:RadComboBox runat="server" ID="cbxWeighStation" MaxHeight="150" Width="150px"

 

 

EnableTextSelection="true" AllowCustomText="false" MarkFirstMatch="true" TabIndex="1"

 

 

Height="15" />

 

 

</div>

 

 

<div style="float: left; margin-top: 8px; margin-left: 7px; width: 25px;">

 

 

<asp:Label runat="server" ID="lblCart" Text="<%$ Resources:Common, Cart %>" />

 

 

</div>

 

 

<div style="float: left; margin-top: 5px; margin-left: 7px; width: 180px;">

 

 

<telerik:RadComboBox runat="server" ID="cbxCart" MaxHeight="150" Width="150px" EnableTextSelection="true"

 

 

AllowCustomText="false" MarkFirstMatch="true" TabIndex="1" Height="15">

 

 

<Items>

 

 

<telerik:RadComboBoxItem Value="" Text="<%$ Resources:Common, Select Any %>" Selected="true" />

 

 

<telerik:RadComboBoxItem Value="1" Text="<%$ Resources:Common, Yes %>" />

 

 

<telerik:RadComboBoxItem Value="0" Text="<%$ Resources:Common, No %>" />

 

 

</Items>

 

 

</telerik:RadComboBox>

 

 

</div>

 

 

<div style="float: left; margin-top: 5px; margin-left: 7px;">

 

 

<asp:Label runat="server" ID="lblEmployee" CssClass="FieldFont1" ForeColor="Black"

 

 

Text="<%$ Resources:Common, Employee %>" />

 

 

</div>

 

 

<div style="float: left; margin-top: 5px; margin-left: 5px; width: 150px;">

 

 

<telerik:RadComboBox runat="server" ID="cbxEmployee" MaxHeight="150" Width="150px"

 

 

EnableTextSelection="true" AllowCustomText="false" MarkFirstMatch="true" TabIndex="1"

 

 

Height="15" />

 

 

</div>

 

 

</div>

 

 

<div id="divSecondLineFilters" style="float: left; width: 100%;">

 

 

<div id="BarcodeDataDiv" style="float: left; clear: both; margin-top: 2px; margin-left: 12px">

 

 

<table>

 

 

<tr>

 

 

<td style="width: 80px; text-align: left">

 

 

<asp:Label runat="server" ID="Label1" Text="<%$ Resources:Common, Customer %>" />

 

 

</td>

 

 

<td style="width: 35px; text-align: left">

 

 

<asp:Label runat="server" ID="Label2" Text="<%$ Resources:Common, Site %>" />

 

 

</td>

 

 

<td style="width: 80px; text-align: left">

 

 

<asp:Label runat="server" ID="Label3" Text="<%$ Resources:Common, Department %>" />

 

 

</td>

 

 

<td style="width: 80px; text-align: left">

 

 

<asp:Label runat="server" ID="Label4" Text="<%$ Resources:Common, Sequence %>" />

 

 

</td>

 

 

</tr>

 

 

<tr>

 

 

<td style="width: 80px; text-align: left">

 

 

<telerik:RadTextBox ID="txtCustomerNumber" runat="server" MaxLength="7" Width="75px" />

 

 

</td>

 

 

<td style="width: 35px; text-align: left">

 

 

<telerik:RadTextBox ID="txtSite" runat="server" MaxLength="3" Width="35px" />

 

 

</td>

 

 

<td style="width: 80px; text-align: left">

 

 

<telerik:RadTextBox ID="txtDepartment" runat="server" MaxLength="3" Width="75px" />

 

 

</td>

 

 

<td style="width: 80px; text-align: left">

 

 

<telerik:RadTextBox ID="txtSequence" runat="server" MaxLength="4" Width="75px" />

 

 

</td>

 

 

</tr>

 

 

</table>

 

 

</div>

 

 

<div style="float: left; margin-top: 25px; margin-left: 7px; width: 80px;">

 

 

<asp:Label runat="server" ID="lblFromDate" CssClass="FieldFont1" ForeColor="Black"

 

 

Text="<%$ Resources:Common, From Date %>" />

 

 

</div>

 

 

<div style="float: left; margin-top: 22px; margin-left: 7px; width: 165px;">

 

 

<telerik:RadDateTimePicker ID="dtpFromDate" runat="server" Width="160px" TimeView-TimeFormat="HH:mm" />

 

 

</div>

 

 

<div style="float: left; margin-top: 25px; margin-left: 7px; width: 50px;">

 

 

<asp:Label runat="server" ID="lblToDate" CssClass="FieldFont1" ForeColor="Black"

 

 

Text="<%$ Resources:Common, To Date %>" />

 

 

</div>

 

 

<div style="float: left; margin-top: 22px; margin-left: 7px; width: 165px;">

 

 

<telerik:RadDateTimePicker ID="dtpToDate" runat="server" Width="160px" TimeView-TimeFormat="HH:mm" />

 

 

</div>

 

 

<div style="float: left; margin-left: 7px; margin-top: 22px;">

 

 

<asp:Button ID="btnMCWApplyFilter" runat="server" CssClass="DarkPurpleButton" UseSubmitBehavior="false"

 

 

OnClientClick="return loadMCWGridData();" Text="<%$ Resources:Common, Apply Filter %>"

 

 

Visible="true" Width="125px" />

 

 

</div>

 

 

</div>

 

</

 

asp:Panel>

 

<

 

div id="WeighGridContainer" style="min-height: 300px">

 

 

<telerik:RadGrid ID="rgMCWeigh" runat="server" Height="200px" AllowPaging="true"

 

 

GridLines="Both" AllowMultiRowSelection="False" Width="100%" AllowSorting="true"

 

 

PageSize="50" TabIndex="-1" Skin="Purple" EnableEmbeddedSkins="false">

 

 

<ClientSettings AllowKeyboardNavigation="True">

 

 

<DataBinding Location="~/Services/ManageContainersWebService.asmx" SelectMethod="GetWeigh">

 

 

</DataBinding>

 

 

<ClientEvents OnGridCreated="rgMCWeigh_Created" OnRowDblClick="rgMCWeigh_RowDblClick"

 

 

OnCommand="rgMCWeigh_Command" />

 

 

<Resizing AllowColumnResize="True" AllowRowResize="False" />

 

 

<Selecting AllowRowSelect="True" />

 

 

<Scrolling AllowScroll="true" UseStaticHeaders="true" SaveScrollPosition="false" />

 

 

</ClientSettings>

 

 

<MasterTableView AutoGenerateColumns="false" TabIndex="-1" Width="100%">

 

 

<Columns>

 

 

<telerik:GridBoundColumn HeaderText="<%$ Resources:Common, Status %>" DataField="RecordStatus" UniqueName="RecordStatus" SortExpression="RecordStatus" />

 

 

<telerik:GridBoundColumn HeaderText="<%$ Resources:Common, Date %>" DataField="ScanDatetimeString" UniqueName="ScanDatetimeString" SortExpression="ScanDatetime" />

 

 

<telerik:GridBoundColumn HeaderText="<%$ Resources:Common, Container Id %>" DataField="LabelBarcode" UniqueName="LabelBarcode" SortExpression="LabelBarcode" />

 

 

<telerik:GridBoundColumn HeaderText="<%$ Resources:Common, Svccode %>" DataField="Svccode" UniqueName="Svccode" SortExpression="Svccode" />

 

 

<telerik:GridBoundColumn HeaderText="<%$ Resources:Common, Weigh Station %>" DataField="WeighStationCode" UniqueName="WeighStationCode" SortExpression="WeighStationCode" />

 

 

<telerik:GridBoundColumn HeaderText="<%$ Resources:Common, Weight %>" DataField="GrossWeight" UniqueName="GrossWeight" SortExpression="GrossWeight" />

 

 

<telerik:GridBoundColumn HeaderText="<%$ Resources:Common, Employee %>" DataField="EmployeeName" UniqueName="EmployeeName" SortExpression="EmployeeName" />

 

 

<telerik:GridBoundColumn HeaderText="<%$ Resources:Common, Cart %>" DataField="CartFgText" UniqueName="CartFgText" SortExpression="CartFgText" />

 

 

</Columns>

 

 

<NoRecordsTemplate>

 

 

<div class="NoRecordText">

 

 

<asp:Literal ID="litNoRecords" runat="server" Text="<%$ Resources:Common, No records to display. %>" />

 

 

</div>

 

 

</NoRecordsTemplate>

 

 

</MasterTableView>

 

 

<PagerStyle Mode="NumericPages" AlwaysVisible="true" />

 

 

</telerik:RadGrid>

 

</

 

div>

 

...

Yavor
Telerik team
 answered on 19 May 2010
6 answers
90 views
Hi,

In the Windows 7 and Outlook skin for the Radgrid there is a horizontal line in the the groupheader:
-------Received from date: Saturday, March 26, 2009 --------------------------------------------

How do I achieve this line in my custom skin?

Dimo
Telerik team
 answered on 19 May 2010
1 answer
123 views
Hi ,
I have a RadTabStrip  which has  validationGroup="Pedia"  and an OnClientTabSelecting="ClientTabSelectingHandler".

    function ClientTabSelectingHandler(sender, eventArgs) {
            
              
                if (Page_ClientValidate("ValidationGroupPedia") == false) {
             
                    document.getElementById('LocationConfirm').style.display = "none";
                    return false;
                }

            }

The OnClientTabSelecting is only being fired when I remove the validationGroup or when the Page Validation is false..

Any ideas?

thnx a lot
Yana
Telerik team
 answered on 19 May 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?