Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
110 views
can any1 suggest how to get focus on tab key press on AsyncUpload
Peter Filipov
Telerik team
 answered on 22 Dec 2011
1 answer
92 views
Hello...
i have a question... 

after add a button in nestedView , How can i  raise click button event in Radgrid nestedview ?

i attached screen shot , because i didn't write  english well.

thanks regards....
Princy
Top achievements
Rank 2
 answered on 22 Dec 2011
8 answers
588 views

Hi.

I have a grid with the nextPrevAndNumeric pager mode.
when i click on one of the page numbers - it works fine.
but when i click on the "prev/next/first/last page" nothing happens, no event is fired.

i went over the forums but didn't find an answer.

thanks in advance

Shinu
Top achievements
Rank 2
 answered on 22 Dec 2011
2 answers
339 views
Hi,
I have problem with dynamic tool tip. It is inside a repeater and the tool tip is assigned to <asp:linkbutton>. tooltip targetControld is assigned to linkbutton but dynamically linkbutton id is changing because same linkbutton is used three times in same repeater. Based on the linkbutton id i need to change caption of tool tip text. Can u please suggest.

<asp:Repeater ID="WidgetList" runat="server" EnableViewState="true"
                                                    onitemcommand="WidgetList_ItemCommand">                                
                                                    <ItemTemplate>                            
                                                        <table width="100%">
                                                            <tr>
                                                                <td height="50" background="../images/Arrowlarge.bmp" style="background-repeat: no-repeat">
                                                                    <table height="50px">
                                                                        <tr>
                                                                            <td height="50">
                                                                                <img src="../images/Folder.gif" alt="" style="height: 30px" width="30px" />
                                                                            </td>
                                                                            <td height="50">
                                                                                <asp:LinkButton ID="lnkText_towarehouse" OnClick="lnkText_towarehouse_Click" ValidationGroup='<%# Eval("TypeId") %>'
                                                                                    Text='<%# Eval("TextData") %>' runat="server" Font-Bold="true" Font-Size="Small" ></asp:LinkButton>
                                                                                <telerik:RadToolTip runat="server" ID="RadToolTip1" RelativeTo="Element" Width="390px" Text="Test"
                                                                                    Height="70px" IsClientID="true" EnableViewState="true" TargetControlID="lnkText_towarehouse"
                                                                                    Position="TopRight">                         
                                                                                </telerik:RadToolTip>
                                                                            </td>
                                                                        </tr>
                                                                    </table>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </ItemTemplate>
                                                </asp:Repeater>

Regards,
Akki
Akki
Top achievements
Rank 1
 answered on 22 Dec 2011
1 answer
138 views
Hello everyone,
I use the Version=2010.1.415.35 of Telerik controls.

I want to export the data from a Grid to an excel but when the column data are like "00455500400400", I get wrong data in the excel, or I get the data as numbers.(see attached picture)
I found the e.Cell.Style("mso-number-format") = "\@" formatting approach, but I can use it only in the 2011 version.
I cannot add spaces, or text on the exported data. I want the original data to be formatted as text.

Could you please help me how to implement this? Below I attach the column definition:

<telerik:GridBoundColumn DataField="Κωδικός Προϊόντος" 
HeaderText="Κωδικός Προϊόντος"
DataFormatString="{0}"
DataType="System.String"
SortExpression="Κωδικός Προϊόντος"
UniqueName="Κωδικός Προϊόντος">
<HeaderStyle Width="155px"></HeaderStyle>
</telerik:GridBoundColumn>

Thank you in advance!
 Andreas
Shinu
Top achievements
Rank 2
 answered on 22 Dec 2011
2 answers
115 views
Hello Admin,

I am using GridClientSelection in radgrid.and i am calling onrowseleted client side to making some columns of the grid to the textbox so that user can edit the values and then by making a webservice call we will save the selected values.But when i click on checkbox column the same row goes in edit mode as well.But in my scenario i just wanted to go in the edit mode when a row is selected ,but not by clicking on checkbox column .

Please provide me the solution ASAP as it is very urgent.

Thanks,
Mandeep Singh
Shinu
Top achievements
Rank 2
 answered on 22 Dec 2011
1 answer
151 views
My RadMenu displays over a textbox which currently has the focus. The blinking caret shows thru the menu. How do i prevent this?

<telerik:RadMenu ID="RadMenuUserFormsList" runat="server" Skin="Telerik" Style="z-index: 800"
     OnClientItemClicked="OnClientItemClicked" >
    <Items>
        <telerik:RadMenuItem Text="New" Value="NewForm"  Enabled="true" PostBack="false" Visible="true" >
            <Items>                                  
            </Items>
        </telerik:RadMenuItem>
    </Items>
    <CollapseAnimation Type="None" />
    <ExpandAnimation Type="None" />
</telerik:RadMenu>

private void InitializeMenu()
{
    var FormTypes = GlobalController.GetFormTypeList();
    int i = 1;
    RadMenuItem NewFormMenu = RadMenuUserFormsList.FindItemByValue("NewForm");
 
    // add menu items
    FormTypes.ToList<LovItem>().ForEach(delegate(LovItem item)
    {
        RadMenuItem MenuItem = new RadMenuItem();
        MenuItem.Text = item.Value;
        MenuItem.Text = i.ToString();
        i++;               
        MenuItem.Target = "_blank";               
        NewFormMenu.Items.Add(MenuItem);
    });
 
}
Richard
Top achievements
Rank 1
 answered on 21 Dec 2011
1 answer
84 views
Hi,

Im trying to use the progress area as per the example on the website.

Following is the piece of code:
private void UpdateProgressContext()
        {
            const int total = 1200;
 
            RadProgressContext progress = RadProgressContext.Current;
            progress.Speed = "N/A";
 
            for (int i = 0; i < total; i++)
            {
                progress.PrimaryTotal = 1;
                progress.PrimaryValue = 1;
                progress.PrimaryPercent = 100;
 
                progress.SecondaryTotal = total;
                progress.SecondaryValue = i;
                int per = (i/total)*100;
                progress.SecondaryPercent = per;
 
                progress.CurrentOperationText = "Step " + i.ToString() + " Per = " + per.ToString();
 
                if (!Response.IsClientConnected)
                {
                    //Cancel button was clicked or the browser was closed, so stop processing
                    break;
                }
 
                progress.TimeEstimated = (total - i) * 100;
                //Stall the current thread for 0.1 seconds
                System.Threading.Thread.Sleep(100);
            }
        }

In the above piece of code, i have only changed total = 1200 from 100 in the example and tryingt o show the percentage.
It always shows 0.
Vijay
Top achievements
Rank 1
 answered on 21 Dec 2011
1 answer
109 views
Ok, this should be simple but it isn't working...I must be doing something simple wrong.

Here is what I have setup...master page with RadScriptManager/RadAjaxManager, looks like this:

<telerik:RadScriptManager runat="server" ID="PrimaryScriptManager">
    <Scripts>
        <asp:ScriptReference Assembly="Telerik.Web.UI, Version=2011.3.1206.40, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Name="Telerik.Web.UI.Common.Core.js" />
        <asp:ScriptReference Assembly="Telerik.Web.UI, Version=2011.3.1206.40, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Name="Telerik.Web.UI.Common.jQuery.js" />
        <asp:ScriptReference Path="/scripts-uncompressed/telerik.jquery.patch.js" />
        <asp:ScriptReference Path="/scripts-uncompressed/browser.detect.js" />
        <asp:ScriptReference Path="/scripts-uncompressed/jquery.colorbox-min.js" />
        <asp:ScriptReference Path="/scripts-uncompressed/email.signup.js" />
        <asp:ScriptReference Path="/scripts-uncompressed/common.js" />
    </Scripts>
</telerik:RadScriptManager>
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
</telerik:RadAjaxManager>


ASPX page (inherit from Master Page Above ) with RadAjaxManagerProxy:

<telerik:RadAjaxManagerProxy ID="RadAjaxManagerProxy1" runat="server">
    <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="MainMulti">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="MainMulti" LoadingPanelID="RadAjaxLoadingPanel1" />
            </UpdatedControls>
        </telerik:AjaxSetting>
    </AjaxSettings>
</telerik:RadAjaxManagerProxy>

and LoadingPanel:
<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server"
       Skin="Windows7" MinDisplayTime="5"> </telerik:RadAjaxLoadingPanel>

On the ASPX page, I have a MultiView control called MainMulti, which I Ajaxified above. If I press my ASP BUTTON "StepTwoContinueButton", after a few seconds, the page changes the current view of the MultiView control via AJAX...BUT, I NEVER SEE THE LOADING PANEL. I want it to show over the form while the AJAX operation is happening. 

A live sample of this problem is here:

http://southcountyri.dev.ccinspire.com/visitor-resources/send-a-postcard/balloons 

when you click on "Contine" I want the loading panel to cover the form(which is my MultiView). What am I doing wrong that makes the loading panel never show?




Adam
Top achievements
Rank 1
 answered on 21 Dec 2011
1 answer
115 views
I need put the slidePane on the rigth..

I create a user control with Slidepane (help pane).
I set put on the rigth of title....



Help Test is a Titlte Div....
I need put Help Panel on the rigth (where is red arrow).

Page code: aspx

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
  <div class="headerPage">
            <asp:Label ID="lblTitle" runat="server"></asp:Label>
            <div style="position:absolute; top:0; right:0; position:absolute; float:right">
           <UC:Help runat="server" ID="Help1" />
         
          <div >
        </div>
  <div class="containerSub">

</div>
</asp:Content>

user Control code
ASpx


  <telerik:RadSplitter ID="RadSplitter1" runat="server" Width="90%" Height="300px" Skin="Vista">
 
          
                <telerik:RadPane ID="Radpane1" runat="server" Height="19px" Scrolling="none" >
                    <telerik:RadSlidingZone ID="Radslidingzone2" runat="server" Height="19px" SlideDirection="Bottom">
                        <telerik:RadSlidingPane ID="Radslidingpane4" Title="Help" runat="server" Height="110px">
                            <div  style="font-size:9px; font-family:inherit">
                                <ul id="ulHelp" runat="server" style="font-size:9px; font-family:inherit">
                                    
                                </ul>
                            </div>
                            <div><asp:LinkButton CssClass="containerRegistration link" runat="server" ID="lnkReadMore" ></asp:LinkButton></div>
                            </telerik:RadSlidingPane>
                        
                    </telerik:RadSlidingZone>
                </telerik:RadPane>
               
               
            </telerik:RadSplitter>

thanks
Dobromir
Telerik team
 answered on 21 Dec 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?