Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
141 views
I have 3 combo boxes on web form.  all 3 use the same list.  the list can have as many as 1000 list items.  is there a way to configure the 3 combo boxes to share the same list?  otherwise, the list is created 3 times in the html page and it bloats the size of the web page.  thanks in advance.

Yes, i know i can setup combo for autocomplete on server. but my user's don't like the change in behavior (they like  to see all names appear when clicking the drop down).
Kalina
Telerik team
 answered on 15 Jul 2011
1 answer
65 views
Is it possible to run notifications outside webpages ?
On your demo at http://demos.telerik.com/aspnet-ajax/notification/examples/default/defaultcs.aspx , it seems that notifications are running as a service or outside a webpage. How to do that ?

Thanks 

Juan
Kevin
Top achievements
Rank 2
 answered on 15 Jul 2011
5 answers
104 views
Hi,

I have a  radpanelitem contol and its binding data without any problem.

I inserted manually another radpanelitem into first radpanelitem but second panel doesnt collapse itselfs.

I tried in many way to Expanded = false but It doesnt work.

Thanks for help...

   List<LandingPage> landingPageList = new DepartmentBLL().GetLandingPage(current.ID);
                    if (landingPageList.Count != 0)
                    {
                        RadPanelItem rip = new RadPanelItem()
                        {
                            Text = "Do you know that?",
                            Value = "-5",
                             Expanded = false
                        };

                        foreach (LandingPage lp in landingPageList)
                        {
                            RadPanelItem ripitem = new RadPanelItem();
                            ripitem.NavigateUrl = lp.PageURL;
                            ripitem.Text = lp.LinkName;
                            ripitem.Value = "-5";
                            rip.Items.Add(ripitem);
                            ripitem.Expanded = false;
                        }
                        rip.Expanded = false;
                        RadPanelBar1.Items.Insert(1, rip);
                        rip.Expanded = false;
                     }
Kate
Telerik team
 answered on 15 Jul 2011
0 answers
300 views
I have column with values for example 7566503,51 and I want use thousand separator like 7 566 503,51 in view mode.

This is *.aspx code:

<telerik:GridNumericColumn DataField="G17 - WYKONANIE MC3" 
                    DataType="System.Decimal" DecimalDigits="2" DataFormatString="{0:N}"
                    FilterControlAltText="Filter G17 - WYKONANIE MC3 column" 
                    HeaderText="WYKONANIE MC3" SortExpression="G17 - WYKONANIE MC3" 
                    UniqueName="G17 - WYKONANIE MC3">
                </telerik:GridNumericColumn>

I set DataFormatString {0:N} and {0:# ### ###,##} and {0:#.###.###,##}, but doesn't work. Have anyone some idea to resolve my problem??
sebastian
Top achievements
Rank 1
 asked on 15 Jul 2011
0 answers
240 views
Here is a list of the known problems occurring in RadImageEditor in the Q2 2011 release. They will be fixed for the next service pack and will appear in the upcoming internal builds.

  • The undo operation in Internet Explorer, versions 6-8 is not functioning. In order to have it working, please, apply the following workaround:

    Telerik.Web.UI.ImageEditor.prototype._undo = function(depth)
    {
        if (depth > this._undoStack.length) depth = this._undoStack.length;
        var operationsToUndo = this._undoStack.splice(this._undoStack.length - depth, depth);
     
        if(this._getLastServerOperation(operationsToUndo))
            this._undoFromServerOperation(operationsToUndo);
        else
            this._simpleUndo(operationsToUndo);
         
        var lastOp = this._undoStack[this._undoStack.length - 1];
        this._statusBar.setValue((lastOp?lastOp.get_text():"None"),"lastAction");
        this._statusBar._updateSizeInternal();
        this.updateClientState();
     
        if(this._currentToolWidget){this._currentToolWidget.updateUI();}
        this._enableDisableUndoRedoTools();
    }
  • Another issue is related to the crop dialog in Internet explorer 7. When it is closed and a different dialog is being opened, a JavaScript error is raised. The fix for this issue will be available with the next internal build. There is no workaround for the Q2 2011 official build.

  • The icon of a custom button does not show correctly on hover. To fix the problem use the CSS code below where rieCustom is the class applied to each command with name Custom. rie stands for RadImageEditor and Custom is the command name:
    <style type="text/css">
    .RadImageEditor .rtbItemHovered a.rieCustom .rtbIcon,
    .RadImageEditor .rtbChecked a.rieCustom .rtbIcon
    {
         top: 3px;
    }
    </style>
    ...
    <telerik:RadImageEditor ID="RadImageEditor1" runat="server" ImageUrl="~/Images/m5_1.png"
                Width="960px" Height="450px">
    <Tools>
       <telerik:ImageEditorToolGroup>
            <telerik:ImageEditorTool CommandName="Custom" ImageUrl="Icons/tool.png"  />
       </telerik:ImageEditorToolGroup>
    </Tools>
    </telerik:RadImageEditor>
  • Resize and Crop dialog visual glitch in IE6 - IE8, which you can fix using the class below:

    <style type="text/css">
        /*IE6,7,8 problem in Resize and Crop dialogs*/
        .rieDialogsTable.RadForm .rfdRoundedWrapper input
        {
            width: 40px\9 !important;
        }
    </style>
Telerik Admin
Top achievements
Rank 1
Iron
 asked on 15 Jul 2011
1 answer
126 views
Telerik Grid Hierarchy: Details Grid Paging runs the paging of the main grid,

i.e, when I click on the page 2 in the details grid, the main grid show the second page

i want to keep the main grid as it's and show the second page of the detail grid.

This is my code

<telerik:RadGrid ID="gridPinHistory" runat="server" AllowFilteringByColumn="True"

AllowPaging="True" PageSize="20" AllowSorting="True" AutoGenerateColumns="False"

CellSpacing="0" GridLines="None" Skin="Office2007" OnPageIndexChanged="gridPinHistory_PageIndexChanged"

AllowCustomPaging="false" OnNeedDataSource="gridPinHistory_NeedDataSource" OnDetailTableDataBind="gridPinHistory_DetailTableDataBind">

   <PagerStyle Mode="NextPrevNumericAndAdvanced" />

   <MasterTableView TableLayout="Auto" DataKeyNames="PIN">

     <Columns>

       <telerik:GridTemplateColumn HeaderText="PIN" DataField="PIN" AllowFiltering="true">

         <ItemTemplate>

           <asp:LinkButton ID="lbtnSearchCustomer2" runat="server" Text='<%# Eval("PIN") %>'

           OnClientClick="" />

         </ItemTemplate>

       </telerik:GridTemplateColumn>

       <telerik:GridBoundColumn DataField="OrderID" HeaderText="Order ID" DataType="System.Int32">

       </telerik:GridBoundColumn>

       <telerik:GridBoundColumn DataField="OrderDate" HeaderText="Order Date" DataType="System.DateTime">

       </telerik:GridBoundColumn>

       <telerik:GridBoundColumn DataField="Last_RCOrderID" HeaderText="Last Recharge Order ID"

       DataType="System.String">

       </telerik:GridBoundColumn>

       <telerik:GridBoundColumn DataField="Last_RCDate" HeaderText="Last Recharge Date"

       DataType="System.DateTime">

       </telerik:GridBoundColumn>

       <telerik:GridBoundColumn DataField="PhoneCardName" HeaderText="PhoneCard Name"                             DataType="System.String">

       </telerik:GridBoundColumn>

       <telerik:GridBoundColumn DataField="FaceValue" HeaderText="Face Value" DataType="System.String">

       </telerik:GridBoundColumn>

       <telerik:GridBoundColumn DataField="TollFree" HeaderText="Toll Free" DataType="System.String">

       </telerik:GridBoundColumn>

       <telerik:GridBoundColumn DataField="SwitchAccountNumber" HeaderText=" Switch Account ID"

       DataType="System.String">

       </telerik:GridBoundColumn>

       <telerik:GridBoundColumn DataField="Provider" HeaderText="Provider" DataType="System.String">

       </telerik:GridBoundColumn>

     </Columns>

    <DetailTables>

   <telerik:GridTableView runat="server" AllowPaging="true" PageSize="10" Name="PinOrders"

    AllowCustomPaging="false" DataKeyNames="OrderID">

 <RowIndicatorColumn>

 <HeaderStyle Width="20px" />

 </RowIndicatorColumn>

 <ParentTableRelation>

 <telerik:GridRelationFields DetailKeyField="PIN" MasterKeyField="PIN" />

 </ParentTableRelation>

<Columns>

  <telerik:GridBoundColumn DataField="OrderID" HeaderText="Order ID" DataType="System.Int32">

  </telerik:GridBoundColumn>

  <telerik:GridBoundColumn DataField="OrderDate" HeaderText="Order Date" DataType="System.DateTime">

  </telerik:GridBoundColumn>

  <telerik:GridBoundColumn DataField="OrderType" HeaderText="Order Type" DataType="System.Double">

  </telerik:GridBoundColumn>

  <telerik:GridBoundColumn DataField="SubTotal" HeaderText="Sub Total" DataType="System.Double">

  </telerik:GridBoundColumn>

  <telerik:GridBoundColumn DataField="OrderDiscount" HeaderText="OrderDiscount" DataType="System.String">

  </telerik:GridBoundColumn>

  <telerik:GridBoundColumn DataField="ProdDiscount" HeaderText="ProdDiscount" DataType="System.String">

  </telerik:GridBoundColumn>

  <telerik:GridBoundColumn DataField="DiscountCode" HeaderText="DiscountCode" DataType="System.String">

  </telerik:GridBoundColumn>

  <telerik:GridBoundColumn DataField="RefCredit" HeaderText="RefCredit" DataType="System.String">

  </telerik:GridBoundColumn>

  <telerik:GridBoundColumn DataField="TransFee" HeaderText="TransFee" DataType="System.String">

  </telerik:GridBoundColumn>

  <telerik:GridBoundColumn DataField="GrandTotal" HeaderText="Grand Total" DataType="System.Double">

  </telerik:GridBoundColumn>

  <telerik:GridBoundColumn DataField="IP" HeaderText="IP" DataType="System.String">

  </telerik:GridBoundColumn>

  </Columns>

</telerik:GridTableView>

</DetailTables>

</MasterTableView>

<FilterMenu EnableImageSprites="False">

</FilterMenu>

<HeaderContextMenu CssClass="GridContextMenu GridContextMenu_Default">

</HeaderContextMenu>

</telerik:RadGrid>

protected void gridPinHistory_PageIndexChanged(object sender, Telerik.Web.UI.GridPageChangedEventArgs e)

{

 if (ViewState["PinHistory"] != null)

  {

     gridPinHistory.CurrentPageIndex = e.NewPageIndex;

     gridPinHistory.DataSource = ViewState["PinHistory"];

     gridPinHistory.DataBind();

  }

}

 

 

protected void gridPinHistory_NeedDataSource(object sender, Telerik.Web.UI.GridNeedDataSourceEventArgs e)

{

 if (ViewState["PinHistory"] != null)

 {

    gridPinHistory.DataSource = ViewState["PinHistory"];

 }

}

Thanx

Iana Tsolova
Telerik team
 answered on 15 Jul 2011
2 answers
66 views
Hello.

When I have an appointment that crosses two days (from 2011-07-07 23:00:00 to 2011-07-08 2:00:00), for example, I see the appointment in the day it starts but not in the day it ends, in DayView. I see the appointment across the two days in WeekView and MonthView.
This behaviour is similar when an appointment crosses weeks, I see it in WeekView in the week it starts but not in the week it ends.

I appreciate any help on this subject.

Susana Magalhães
Susana
Top achievements
Rank 1
 answered on 15 Jul 2011
5 answers
128 views
Hi,

The data format string 'MMM' display a point (janv.) with culture 'fr-FR'.
But when whe export data in Excel, it is not recognize like a date and user can't change display for another date format.

Can you help me to display abreviate month without point like 'en-GB', for compatibility with Excel date format.
Anne

Precisions :

DataFormatString

 

="{0:dd-MMM-yy}" = 03-janv.-11 (fr-FR)

 

DataFormatString="{0:dd-MMM-yy}" = 03-jan-11 (en-GB)

 

Daniel
Telerik team
 answered on 15 Jul 2011
2 answers
74 views
I'm using pagination for my gridview but when I export gridddata to excel, only grid first page records are being exported.

I'm using below code to export which was suggested by you.
 

 

gviewTracker.ExportSettings.ExportOnlyData = true;
gviewTracker.HeaderStyle.Wrap = false; 
gviewTracker.MasterTableView.Width = 1800;
  
gviewTracker.ExportSettings.IgnorePaging = true;
  
gviewTracker.ExportSettings.OpenInNewWindow = true;
 gviewTracker.MasterTableView.ExporttoExcel();

I'm using Q32009sp1 version for above functionality.

 


Could you please help me out for above.

Advance Thanks,
Prasad.

 

Daniel
Telerik team
 answered on 15 Jul 2011
1 answer
109 views
I have tried for 3 days and still can't make it work.
As you know, by default, when exporting to MS Word, the page orientation is Portrait, and the column witdth is auto-resize according to the document size.

Is these two features above really available in lastest Telerik ASP.NET AJAX 2011?

Thanks

LamK.
Daniel
Telerik team
 answered on 15 Jul 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?