Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
265 views
It appears there used to be an integration example on how to use the Upload control to attach a file to an email directly from the temp folder and not actually upload to a target folder. I can not find this example anywhere.

Does anyone have some sample code to attach the temp file to an email and send it without saving it somewhere. 

I have sucessfully saved the file on postback and then sent it, but I would like to just attach the temp file and let the control delete the temp file after the message was sent.
Peter Filipov
Telerik team
 answered on 15 Jul 2011
1 answer
240 views
i am opening RadWindow on buttonclick inside RadGrid for editing selected record. 1st time it opens the record for editing and after updating the record i am closing the radwindow, now if i select another record for edit it open radwindow but its displaying previously edited record in the control inside radwindow, if i click on Refresh button of radwindow its displaying the last selected record.

can i know the reason why its behaving like that.

i don't want to keep caching of edited record inside window, can anyone tell me how to destroy that caching,
when ever i select new record for editing it should show same record inside window..
Svetlina Anati
Telerik team
 answered on 15 Jul 2011
0 answers
115 views
how to create radcombobox and datepicker from clientside
fg
Top achievements
Rank 1
 asked on 15 Jul 2011
1 answer
164 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
95 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
145 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
334 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
272 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
151 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
84 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?