Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
145 views
I have a modal window that I can get to work just fine from a button in the user control but how do I get the rad window to start up from a template column in a grid view inside that user control that looks something like this:

<telerik:GridTemplateColumn HeaderText="" UniqueName="ConfirmNo" AllowFiltering = "false">
<ItemTemplate>
<asp:Button ID="btnConfirmNo" runat="server" Text="No" CommandArgument='<%# Eval("_DocumentID") %>'
                    CommandName="ConfirmNo" />
        <asp:Label ID="lblConfirmNo" runat="server" CssClass="formLabel"></asp:Label>
                     </ItemTemplate>
                  <HeaderStyle HorizontalAlign="Center" />
     <ItemStyle HorizontalAlign="Center" Width="5%" />
</telerik:GridTemplateColumn>
Marin Bratanov
Telerik team
 answered on 25 Aug 2011
1 answer
190 views
Hi ,

I am calling rad window form code ebehind using following code.

<telerik:RadWindowManager ID="RadWindowManager2" runat="server" VisibleOnPageLoad="false"
        KeepInScreenBounds="true" Modal="true" VisibleStatusbar="false" ShowContentDuringLoad="false">
        <Windows>
        </Windows>
    </telerik:RadWindowManager>
 
 
 <asp:Button ID="btnReport" runat="server" Text="Show Report" OnClick="btnReport_OnClick" />
 
 protected void btnReport_OnClick(object sender, EventArgs e)
        {
            Telerik.Web.UI.RadWindow rw = new Telerik.Web.UI.RadWindow();
            rw.ID = "test";
            rw.Width = 1135;
            rw.Height = 671;           
            rw.ShowContentDuringLoad = false;
            rw.VisibleStatusbar = false;
            rw.KeepInScreenBounds = true;
            rw.VisibleOnPageLoad = true;
            rw.Modal = true;
            rw.AutoSize = false;
            rw.Behaviors = WindowBehaviors.Close;
            rw.NavigateUrl = "~/Report.aspx?id=1042";
            rw.ReloadOnShow = false;
            RadWindowManager2.Windows.Add(rw);
        }

When I Click Show Report button it opens report and when I click close button it closes report perfectly
but when I open same report second time and try to close the report I need to click the close 2-3 times .
Please suggest for the same.
Shinu
Top achievements
Rank 2
 answered on 25 Aug 2011
1 answer
117 views
Hi,
I am using RadGrid for displaying data and creating summaries, I used the Sum aggregate and changed the FooterText of a column to "Grand Total:", which is working fine. Then I want to create a title like "Subtotal for company abc:" for each group, "abc" is coming off the database and Company is the field used for grouping. I don't know how to do that, please help.

TIA
Radoslav
Telerik team
 answered on 25 Aug 2011
3 answers
225 views

Hi
  I want to use GridTempalteColumn Rad Gird for google-like filtering. Is it possible?
I have tried in bound column for the same requirement, it is working fine.
but my requirement is to show product details in tooltip on mousemove of grid row(s).
please help me by providing with some sample code.

Thanks & Regards,
Pravat Sharma

Hiren
Top achievements
Rank 1
 answered on 25 Aug 2011
3 answers
106 views

Please show me how to find combobox with JavaScript inside other rad control! 

This is my code (not worked!):

function RadControls_Load(menu, args)
{
      var combo1 = $find("<%=RadComboBox1.ClientID %>");
      var combo2 = $find("<%=RadComboBox3.ClientID %>");
}

ASP.NET:

<telerik:RadToolBar
                ID="RadToolBar1"
                Skin="Windows7"
                EnableRoundedCorners="true"
                EnableShadows="true"
                runat="server"
                Width="100%"
                OnClientButtonClicking="BlockEditor_RadToolBar_Top_ClientButtonClicking"
                OnClientLoad="RadControls_Load" >
                <Items>
                    <telerik:RadToolBarButton Text="Size" Group="Align" CheckOnClick="true">
                        <ItemTemplate>
                            <telerik:RadComboBox
                                ID="RadComboBox1"
                                runat="server"
                                AllowCustomText="false"
                                Width="45px">
                                <Items>
                                    <telerik:RadComboBoxItem runat="server" Text="Size" Value="0" />
                                    <telerik:RadComboBoxItem runat="server" Text="1px" Value="1" />
                                    <telerik:RadComboBoxItem runat="server" Text="2px" Value="2" />
                                    <telerik:RadComboBoxItem runat="server" Text="3px" Value="3" />
                                    <telerik:RadComboBoxItem runat="server" Text="4px" Value="4" />
                                    <telerik:RadComboBoxItem runat="server" Text="5px" Value="5" />
                                </Items>
                            </telerik:RadComboBox>
                        </ItemTemplate>
                    </telerik:RadToolBarButton>
                    <telerik:RadToolBarButton Text="Style" Group="Align" CheckOnClick="true">
                        <ItemTemplate>
                            <div style="padding-right: 5px;">
                                <telerik:RadComboBox
                                    ID="RadComboBox3"
                                    runat="server"
                                    AllowCustomText="false"
                                    Width="60px">
                                    <Items>
                                        <telerik:RadComboBoxItem runat="server" Text="Style" Value="Solid" />
                                        <telerik:RadComboBoxItem runat="server" Text="Dashed" Value="Dashed" />
                                        <telerik:RadComboBoxItem runat="server" Text="Dotted" Value="Dotted" />
                                    </Items>
                                </telerik:RadComboBox>
                            </div>
                        </ItemTemplate>
                    </telerik:RadToolBarButton>
                </Items>
            </telerik:RadToolBar>
Kalina
Telerik team
 answered on 25 Aug 2011
1 answer
280 views
I am looking for suggestions on the best approach for creating a web form used for creating an Order page. I need the user to be able to create an Order by first adding the Header informatiom, Name,Date,Delivery Destination, etc.. Then I want to allow them to add as many line items as they need to fulfill the order. I have seen different examples using jQuery and Linq but I'm not as up to speed on that approach as I need to be to tackle it any time soon. I'm hoping someone has created a similar approach using Telerik AJAX and can steer me in the right direction. My thoughts are to create a Form for the Header info and a RadGrid for the Items but how to dynamically add a new row once the previous row is entered?  Thanks for any ideas, suggestions.
Kiara
Top achievements
Rank 1
 answered on 25 Aug 2011
1 answer
159 views
Does Telerik have a download control that functions like the upload control only in reverse order. I have clients requesting the ability to select multiple files and have them all download instead of doing a file at a time. If there isn't a control, is this possible without zipping the files into a single file
Sebastian
Telerik team
 answered on 25 Aug 2011
1 answer
119 views
Hi,

When I specify a mask, is there a setting to make sure the user enters it entirely? For example, for phone numbers: (###) ###-####, I would want the user to enter all digits and not partial. I would want (602) 555-1212 instead of (602) 5.

Thx
G
Martin
Telerik team
 answered on 25 Aug 2011
3 answers
100 views
Hi
I am using RadControl ajax Q1 2011 net 4

I am having issues trying to get the correct rad page to display on page load.
I have 5 tabs on a strip but when the page loads I want it to load page 2 by default.
Instead when I run the app it displays the correct tab highlighted on the tab strip but the wrong multi page index 0 is being shown when I have explicitly told both TabStrip and multi page that the selected index should be 1. I have also told it the same information in the page_load event.

If I set the selected indexes to 0 then it works as it should do.

I have tried all variations of setting selecting SelectedIndex in the tab strip, multi page and the page views and it just wont work.

As a temporary fix I have done the following.

OnPage load start a timer,
when the timer fires a call an ajax callback to set the selected index server side
ajax returns and the correct tab is shown.

I have a similar issue on another page where I have 2 tab strips on the same page but both these should be displaying index position 0.
The first tab is fine and draws the correct radpage but the second tab does not draw a page at all until I click a different tab and then click back?

Any help on this greatly appreciated.


Dimitar Terziev
Telerik team
 answered on 25 Aug 2011
2 answers
151 views
Hi,

I'm trying to update my grid in a dynamically load usercontrol( grid is not dynamically added) but the UpdateCommand event is not firing. The usercontrol works fine when I put it directly on my page. But when I load it in the codebehind he fires the need_datasource and than ofcourse the updatecommand is lost. Is it a problem with viewstate? Paging and itemcommand works fine.

Thanks
Bart Reekmans
Top achievements
Rank 1
 answered on 25 Aug 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?