Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
89 views
Select in RadUpload do not work inside ajaxToolkit ModalPopupExtender in IE 7 or IE 8 compatibility view works in IE 8 normal view.

Example code:
<asp:ScriptManager ID="sm1" runat="server" /> 
<asp:Button ID="button1" runat="server"/>  
<ajaxToolkit:ModalPopupExtender ID="modalDialog" runat="server" TargetControlID="button1" PopupControlID="dialog" />          
<asp:Panel ID="dialog" runat="server" Style="display: none;">  
  <telerik:RadUpload ID="file1" runat="server" /> 
</asp:Panel> 

(Version: Q2 2009 SP1)
Kamen Bundev
Telerik team
 answered on 02 Sep 2009
0 answers
75 views
I use the Telerik Ajax for the confirmation messgae on button provided on the last step of the payment, the Message is Pop up , but when i click on "Yes" of that pop up, the written javascript for the server side is not working" , why is it so?

Please let me know the solution...


REgards
Samir
Samir Patel
Top achievements
Rank 1
 asked on 02 Sep 2009
1 answer
97 views
I have a bunch of custom themes modified from telerik's default. I have made them into embedded resource by creating a class library as illustrated in the examples.

Now what is the correct way to make it auto-load required css files according to set theme? Surely there are easier ways than to specify all the CSS I use in <asp:ScriptReference> of every page?
Atanas Korchev
Telerik team
 answered on 02 Sep 2009
1 answer
104 views

Hi,

I need your help for JQuery dialog box.
I have a page where I am using RadComboBox and JQuery dialog box.

The problem is that this Dialog box is like transparent. It shows all the
combo boxes on page which is below it.

Please help me.

Regards

Atanas Korchev
Telerik team
 answered on 02 Sep 2009
1 answer
119 views
How can I dynamically load an ASPX page to a pageView in a TabStrip?
Paul
Telerik team
 answered on 02 Sep 2009
4 answers
324 views
Hello,

I have a Tabstrip.
The following is a snippet showing relevant ASPX code.
I can select the Tabs in the code behind with rtsTab.SelectedIndex = 2.
But how can I select the Child-Tabs in the code behind?

<telerik:RadTabStrip ID="rtsTab" runat="server" OnClientTabSelecting="onTabSelecting"

 

 

SelectedIndex="0" Skin="Vista" Width="100%" MultiPageID="mpTab">

 

 

<Tabs>

 

 

<telerik:RadTab runat="server" PageViewID="pv1" Selected="True" Text="Tab1">

 

 

</telerik:RadTab>

 

 

<telerik:RadTab runat="server" PageViewID="pv2" Text="Tab2">

 

 

</telerik:RadTab>

 

<telerik:RadTab runat="server" Text="Tab3" SelectedIndex="0">

 

 

<Tabs>

 

 

<telerik:RadTab Text="Child1" PageViewID="pvC1" Selected="True" />

 

 

<telerik:RadTab Text="Child2" PageViewID="pvC2" />

 

 

</Tabs>

 

 

</telerik:RadTab>

 

</Tabs>

Thanks
Thomas

 

Paul
Telerik team
 answered on 02 Sep 2009
5 answers
552 views
Hi,
I cannot get the OnItemUpdated command to fire for the code given below.


        <radG:RadGrid id="MakerGrid" OnItemUpdated="MakerGrid_ItemUpdated" ShowStatusBar="true" OnItemInserted="MakerGrid_ItemInserted" 
            EnableAJAX="False" AllowAutomaticDeletes="True" AllowAutomaticUpdates="True" runat="server" 
            Skin="Default2006" AllowSorting="True" PageSize="15" ShowFooter="True" AllowPaging="True">  
            <PagerStyle CssClass="GridPager_Default GridPager_"></PagerStyle>  
            <AlternatingItemStyle CssClass="GridAltRow_Default GridAltRow_"></AlternatingItemStyle>  
            <GroupHeaderItemStyle CssClass="GroupHeader_Default GroupHeader_"></GroupHeaderItemStyle>  
            <FilterMenu NotSelectedImageUrl="~/RadControls/Grid/Skins/Default/NotSelectedMenu.gif" SelectedImageUrl="~/RadControls/Grid/Skins/Default/SelectedMenu.gif"></FilterMenu>  
            <MasterTableView EditMode="InPlace" CommandItemDisplay="None" AutoGenerateColumns="False" CssClass="MasterTable_Default MasterTable_">  
                <RowIndicatorColumn Visible="False">  
                    <ItemStyle CssClass="ResizeItem_Default ResizeItem_"></ItemStyle>  
                    <HeaderStyle Width="20px" CssClass="ResizeHeader_Default ResizeHeader_"></HeaderStyle>  
                </RowIndicatorColumn>  
                <EditFormSettings>  
                    <EditColumn UniqueName="EditCommandColumn1"></EditColumn>  
                </EditFormSettings>  
                <Columns>  
                    <radg:GridHyperLinkColumn UniqueName="linkColumn" NavigateURL="" Target="_blank" Text="<img border='0' alt='Open Amendment' src='../../common/bookimages/open_book.gif'>"></radg:GridHyperLinkColumn>  
                    <radg:GridBoundColumn DataField="fkMaker" UniqueName="fkMaker" Display="False"></radg:GridBoundColumn>  
                    <radg:GridBoundColumn HeaderText="Precis" DataField="precis" UniqueName="Precis"></radg:GridBoundColumn>  
                    <radg:GridBoundColumn HeaderText="Description" DataField="description" UniqueName="Description"></radg:GridBoundColumn>  
                    <radg:GridBoundColumn HeaderText="Status" DataField="status" UniqueName="Status"></radg:GridBoundColumn>  
                    <radg:GridBoundColumn HeaderText="cleaned" DataField="cleaned" UniqueName="cleaned" visible="false"></radg:GridBoundColumn>  
                    <radg:GridBoundColumn HeaderText="Date Created" DataField="DateCreated" ReadOnly="True" UniqueName="DateCreated"></radg:GridBoundColumn>  
                    <radg:GridBoundColumn HeaderText="Who Created" DataField="WhoCreated" UniqueName="WhoCreated"></radg:GridBoundColumn>  
                    <radg:GridEditCommandColumn HeaderText="Edit" UpdateImageUrl="../../../common/baseimages/apply.gif" InsertImageUrl="../../../common/baseimages/apply.gif" 
                        EditImageUrl="../../../common/controlimages/gredit.gif" ButtonType="ImageButton" CancelImageUrl="../../../common/baseimages/cancel.gif" UniqueName="EditColumn">  
                        <ItemStyle HorizontalAlign="Center" CssClass="gridButton"></ItemStyle>  
                    </radg:GridEditCommandColumn>  
                    <radg:GridButtonColumn HeaderText="Delete" ImageUrl="../../../common/baseimages/trash.gif" CommandName="Delete" ConfirmText="Delete this package?" 
                        ButtonType="ImageButton" Text="Delete" UniqueName="DeleteColumn">  
                        <ItemStyle HorizontalAlign="Center" CssClass="gridButton"></ItemStyle>  
                        <HeaderStyle Width="20px"></HeaderStyle>  
                    </radg:GridButtonColumn>  
                    <radg:GridButtonColumn HeaderText="Clean" CommandName="Clean" ConfirmText="Clean this amendment package for publishing?" ImageUrl="../../../common/baseimages/discuss.gif" ButtonType="ImageButton" Text="Clean this amendment" UniqueName="CleanAm">  
                        <ItemStyle HorizontalAlign="Center" CssClass="gridButton"></ItemStyle>  
                        <ItemStyle HorizontalAlign="Center" ></ItemStyle>  
                    </radg:GridButtonColumn>  
                    <radg:GridButtonColumn HeaderText="In Force" CommandName="Enforce" ConfirmText="Enforce this amendment package?" ImageUrl="../../common/treeimages/page_cross_red.gif" ButtonType="ImageButton" Text="Enforce this amendment" UniqueName="EnforceColumn">  
                        <ItemStyle HorizontalAlign="Center" ></ItemStyle>  
                    </radg:GridButtonColumn>  
                    <radg:GridBoundColumn HeaderText="Date In Force" DataField="DateModified" UniqueName="DateInForce"></radg:GridBoundColumn>  
                    <radg:GridHyperLinkColumn HeaderText="E-Plan" UniqueName="ePlan" NavigateURL="" Target="_blank" Text="<img border='0' alt='Draft E-Plan' src='./../../common/baseimages/amendments/draft.gif' width='24px'>">  
                        <ItemStyle HorizontalAlign="Center" ></ItemStyle>  
                    </radg:GridHyperLinkColumn>  
                    <radg:GridHyperLinkColumn HeaderText="Current" UniqueName="Current" NavigateURL="" Target="_blank" Text="<img border='0' alt='Current Version Detail Report' src='./../../common/baseimages/amendments/view_detail.gif' width='24px'>">  
                        <ItemStyle HorizontalAlign="Center" ></ItemStyle>  
                    </radg:GridHyperLinkColumn>   
                              
                </Columns>  
                <ExpandCollapseColumn Visible="False">  
                    <HeaderStyle Width="19px"></HeaderStyle>  
                </ExpandCollapseColumn>  
            </MasterTableView>  
            <HeaderStyle CssClass="GridHeader_Default GridHeader_"></HeaderStyle>  
            <SelectedItemStyle CssClass="SelectedRow_Default SelectedRow_"></SelectedItemStyle>  
            <ActiveItemStyle CssClass="ActiveRow_Default ActiveRow_"></ActiveItemStyle>  
            <ItemStyle CssClass="GridRow_Default GridRow_"></ItemStyle>  
            <FooterStyle CssClass="GridFooter_Default GridFooter_"></FooterStyle>  
        </radG:RadGrid>  
 

CODEBEHIND
    Public Sub MakerGrid_ItemUpdated(ByVal source As ObjectByVal e As Telerik.WebControls.GridUpdatedEventArgs) Handles MakerGrid.ItemUpdated  
 
        'Get the drop-down-list value  
        Dim dataEditItem As GridEditableItem = e.Item  
        Dim cID As String = CType(dataEditItem("fkMaker").Controls(0), TextBox).Text  
        Dim pM As New BRMaker  
        Dim dR As DataRow = pM.FillRow("SELECT * FROM mkMaker WHERE fkMaker=" & cID, AppSettings("connMP"))  
 
        dR("fkMaster") = 0 'Obselete  
 
        dR("WhoCreated") = CType(dataEditItem.Controls(9).Controls(0), TextBox).Text.TrimStart(" ").TrimEnd(" ")  
        dR("precis") = CType(dataEditItem.Controls(4).Controls(0), TextBox).Text  
        dR("Description") = CType(dataEditItem.Controls(5).Controls(0), TextBox).Text  
        dR("status") = CType(dataEditItem.Controls(6).Controls(1), DropDownList).SelectedValue  
 
        dR("DateModified") = DateTime.Now  
        dR("WhoModified") = Framework.Container.GetUser(Session, Request, AppSettings("MPTitle"), Framework.Container.GetAuthType(AppSettings("authorization")))  
        pM.SaveRow(dR, pM.GetDS, "Master")  
 
        If Not pM.Update(AppSettings("connMP"), pM.GetDS) Then 
            Log(AppSettings("MPlog"), "Amendments Error""Error updating mkMaker")  
        End If 
 
        pM.CloseRow()  
 
        MakerGrid.Columns(9).Visible = True 
        MakerGrid.Columns(10).Visible = True 
        MakerGrid.Columns(11).Visible = True 
        MakerGrid.Columns(12).Visible = True 
        MakerGrid.Columns(13).Visible = True 
        MakerGrid.Columns(14).Visible = True 
        BuildGrid()  
 
    End Sub 
 

Note:This was working in RADControls for ASP.NET RADGrid v5.1.3.0

Thanks and Regards



Sebastian
Telerik team
 answered on 02 Sep 2009
2 answers
74 views
Hello...
I downloaded a trial version of Q2009 and publish a test control over the internet....
I would like to know when the trial version will be  expired.....Because I plan to use the trial version for a period in a project till I prepear financially to buy the full version...

Another Question is the trial version has the full features or not??

Your answer will be highly appreciated
Paul
Telerik team
 answered on 02 Sep 2009
1 answer
94 views

The last post I created with that title was unreadable so I am trying again.

I want to make one RadCombobox have the same selection as another.  They both have the same items and if I select "5" on one, I want the other to automatically be the same.  This used to work in previous versions of the RadComboboxes, allowing the actual and billable minutes comboboxes to be the same.

The following used to work in previous versions of the RadCombobox but doesn't any more.

 function ActualMinutesChanged(item){  
      var minutesCombo = <%= BillableMinutes.ClientID %>;  
      minutesCombo.FindItemByValue(item.ComboBox.GetValue()).Select();  
 } 

I have changed the code to the following but I need to now how to actually select an item in the second combobox (billable minutes) to be the same as the actual minutes.

    function ActualHoursChanged(sender, eventArgs){  
        var item = eventArgs.get_item();  
        var hours = item.get_index();  
        var hoursCombo = $find("<%= BillableHours.ClientID %>");  
        hoursCombo._selectedIndex = hours;  
    } 

So, how do I select using the new client-side JavaScript code?  Thanks!
Paul
Telerik team
 answered on 02 Sep 2009
1 answer
110 views
Hello,

can anybody tell me how to set up, that the label in the rotator always has two rows, even if the caption is just one letter?
When I click on an item, I change the backcolor of this Item. Unfortunately it does not change the backcolor of the label. Does anyone know how to change this as well?

thanks in advance,

regards, jonas
Fiko
Telerik team
 answered on 02 Sep 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
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
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?