Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
96 views
The customized ToolBar (with custom sprite and CssClass) works on FireFox, but doesnt work on IE (tested on 6 & 8).

Any suggestions how to fix this?

FireFox
InternetExplorer

Funny thing is, I have another ToolBar on another page that uses the exact same .css file, only different sprite.gif, and it works on IE. So I'm at loss.
Syazwan Ahmad
Top achievements
Rank 1
 answered on 28 Aug 2009
1 answer
102 views
Hi All,

I'm following Atanas' blog entry on ASP.NET MVC - Passing JSON to controller actions and populating controls on demand which is extremely useful.

Is there any way to populate the first tier of nodes from this action on client load?  Atanas' example has the first node added at design time which is something I'd like to avoid if possible

Many thanks,
Nick

Veselin Vasilev
Telerik team
 answered on 28 Aug 2009
4 answers
192 views
Good morning,

I search a Button that it can display Text and Image
as normal Windows Form Button.

Exist this "button" or "RadButton" in Q1 2009 ?
Daniel
Telerik team
 answered on 28 Aug 2009
1 answer
111 views
Hi,

I have a RadDock with 3 custom commands, all with different events, I have a feeling that my users will be confused by which button is for which command or that type of thing, they all look similar because they are custom commands,
how do I change the image of my custom command button?
Martin
Telerik team
 answered on 28 Aug 2009
1 answer
172 views
Enter a script block in an editor, and try to get the text of the editor, the script tags of the script block are stripped, but the codes in the tags are still there. Does someone know how to remove the whole block? Thanks.
Lini
Telerik team
 answered on 28 Aug 2009
1 answer
108 views
We are using two panelbars on the same page in DNN.

The panelbars are to behave in the same way with sligh visual changes.
To accomplish this, I created a copy of the defualt dnn skin folder and renamed it to footerNav.
I then made the necessary updates to the Panelbar attributes and css file, but the additional skin will not load when I view the page in a browser.  Is it not possible to have two radpanels on a single page?

Code for first panelbar that loads the skin.css file appropriately.
<dnn:RADPANELBAR
       ID="dnnRADPANELBAR"
       runat="server"
       SkinsPath="*SkinPath*/Panelbar"   
       Skin="dnn"
       CssClass="RadPanelbar_Dnn"
       ShowPath="True"
       SelectedPathHeaderItemCss="RadPanelbar_Selected"
       SelectedPathItemCss="RadPanelbar_Selected"
       EnableEmbeddedSkins="false" /> 

Code for the second panelbar that does not load the skin.css file.
<dnn:RADPANELBAR
       ID="dnnRADPANELBARFooter"
       runat="server"
       SkinsPath="*SkinPath*/footerNav"   
       Skin="footerNav"
       CssClass="RadPanelbar_DnnFooter"
       ShowPath="True"
       SelectedPathHeaderItemCss="RadPanelbar_Selected"
       SelectedPathItemCss="RadPanelbar_Selected"
       EnableEmbeddedSkins="false" />

When I inspect the code generated for teh second panelbar, I see the RadPanelbar_DnnFooter class applied, but the skin.css file is not loading...  Please adivse.

Thanks in advance.
Paul
Telerik team
 answered on 28 Aug 2009
2 answers
217 views

Hi,
    I am using a RadDatePicker Control on my page. I have to calculate the difference in weeks between the date selected in this RadDatePicker Control and Current Date (i.e Today's Date). I have to display this difference (in weeks)  inside a textbox on selecting a date from the RadDatePicker Control. How can I do this ?


I have used the following html code for RadDatePicker Control in my application :- 

<telerik:RadDatePicker ID="dtDate" runat="server" DateInput-DateFormat="dd/MM/yyyy" Width="120px" Skin="WebBlue">   
<DateInput DateFormat="dd/MM/yyyy" LabelCssClass="radLabelCss_WebBlue" Skin="WebBlue" runat="server" ID="DateInput6" >   
</DateInput>   
<Calendar Skin="WebBlue" Width="50px" Height="50px">   
</Calendar>   
<DatePopupButton CssClass="radPopupImage_WebBlue" />   
</telerik:RadDatePicker> 
 
 
 
 
 
 
 
 
 

 

 

 

 

 

Thanks

 

 

 

 

Shinu
Top achievements
Rank 2
 answered on 28 Aug 2009
1 answer
158 views
I am not sure where to get this dll.
Any help would be great.
Sebastian
Telerik team
 answered on 28 Aug 2009
0 answers
187 views
Hi telerik team,

    i have a some skins or theme problem when i display the radtree within the radtooltip.
    the + icons in the radtreeview is not displayed, nstead it display only the listtags with bullets.
    
    this problem is only for some themes such as Web20 etc.

    can u Pls help me out in this issue aspd  

thanks
K²
kiran
Top achievements
Rank 1
 asked on 28 Aug 2009
1 answer
239 views
I have one column in my radgrid that is using griddropdown (Operator), However when I edit a row and select a new value from the dropdown, the new value is not reflected after the update.  Is there a codeless solution for this, or do I need to fire an event after dropdown itemselected?  Here is my affected code for reference.

<telerik:RadGrid ID="rgHydrantsMaintenance" runat="server" 
                DataSourceID="dsHydrantsMaintenance" Height="100%" BorderWidth="0px" AllowSorting="True" 
                Style="outline: none" ShowGroupPanel="True" GridLines="None">  
                <ClientSettings Scrolling-AllowScroll="True" Scrolling-UseStaticHeaders="true" Selecting-AllowRowSelect="true" 
                    EnablePostBackOnRowClick="true" AllowDragToGroup="true" EnableRowHoverStyle="true">  
                    <Selecting AllowRowSelect="True" /> 
                    <Scrolling AllowScroll="True" UseStaticHeaders="True" /> 
                </ClientSettings> 
                <MasterTableView AllowAutomaticInserts="True" AllowAutomaticUpdates="True" AutoGenerateColumns="False" 
                    TableLayout="Fixed" GroupLoadMode="Client" CommandItemDisplay="Top" DataKeyNames="ID" 
                    DataSourceID="dsHydrantsMaintenance">  
                    <RowIndicatorColumn> 
                        <HeaderStyle Width="20px" /> 
                    </RowIndicatorColumn> 
                    <ExpandCollapseColumn> 
                        <HeaderStyle Width="20px" /> 
                    </ExpandCollapseColumn> 
                    <EditFormSettings> 
                        <EditColumn UniqueName="EditCommandColumn" ButtonType="ImageButton" CancelImageUrl="~/images/decline.png" 
                            UpdateImageUrl="~/images/add.png" InsertImageUrl="~/images/add.png">  
                        </EditColumn> 
                    </EditFormSettings> 
                    <Columns> 
                        <telerik:GridBoundColumn DataField="ID" DataType="System.Int32" HeaderText="ID" ReadOnly="True" 
                            SortExpression="ID" UniqueName="ID" Visible="False">  
                        </telerik:GridBoundColumn> 
                        <telerik:GridBoundColumn DataField="hID" DataType="System.Int32" HeaderText="Hydrant ID" 
                            SortExpression="hID" UniqueName="hID">  
                        </telerik:GridBoundColumn> 
                        <telerik:GridBoundColumn DataField="Date" DataType="System.DateTime" HeaderText="Date" 
                            SortExpression="Date" UniqueName="Date">  
                        </telerik:GridBoundColumn> 
                        <telerik:GridBoundColumn DataField="Work_Performed" HeaderText="Work_Performed" SortExpression="Work_Performed" 
                            UniqueName="Work_Performed">  
                        </telerik:GridBoundColumn> 
                        <telerik:GridDropDownColumn DataSourceID="dsOperators" DataField="ID" ListTextField="Operator" ListValueField="ID" UniqueName="Operator" DataType="System.Int32" HeaderText="Operator" 
                            SortExpression="Operator" ForceExtractValue="Always">  
                        </telerik:GridDropDownColumn> 
                       <%-- <telerik:GridBoundColumn DataField="Operator" DataType="System.Int32" HeaderText="Operator" 
                            SortExpression="Operator" UniqueName="Operator">  
                        </telerik:GridBoundColumn>--%> 
                        <telerik:GridBoundColumn DataField="Notes" HeaderText="Notes" SortExpression="Notes" 
                            UniqueName="Notes">  
                        </telerik:GridBoundColumn> 
                        <telerik:GridEditCommandColumn ButtonType="ImageButton" HeaderText="Edit" UniqueName="Edit" HeaderStyle-Width="20px" ItemStyle-Width="20px">  
                        </telerik:GridEditCommandColumn> 
                    </Columns> 
                </MasterTableView></telerik:RadGrid><asp:SqlDataSource ID="dsHydrantsMaintenance" 
                    runat="server" ConflictDetection="CompareAllValues" ConnectionString="<%$ ConnectionStrings:csWIRMS %>" 
                    DeleteCommand="DELETE FROM [maint_Hydrants] WHERE [ID] = @original_ID AND [hID] = @original_hID AND (([Date] = @original_Date) OR ([Date] IS NULL AND @original_Date IS NULL)) AND (([Work_Performed] = @original_Work_Performed) OR ([Work_Performed] IS NULL AND @original_Work_Performed IS NULL)) AND (([Operator] = @original_Operator) OR ([Operator] IS NULL AND @original_Operator IS NULL)) AND (([Notes] = @original_Notes) OR ([Notes] IS NULL AND @original_Notes IS NULL))" 
                    InsertCommand="INSERT INTO [maint_Hydrants] ([hID], [Date], [Work_Performed], [Operator], [Notes]) VALUES (@hID, @Date, @Work_Performed, @Operator, @Notes)" 
                    OldValuesParameterFormatString="original_{0}" SelectCommand="SELECT * FROM [maint_Hydrants] WHERE ([hID] = @hID) ORDER BY [Date]" 
                    UpdateCommand="UPDATE [maint_Hydrants] SET [hID] = @hID, [Date] = @Date, [Work_Performed] = @Work_Performed, [Operator] = @Operator, [Notes] = @Notes WHERE [ID] = @original_ID">  
                    <SelectParameters> 
                        <asp:ControlParameter ControlID="rgHydrants" Name="hID" PropertyName="SelectedValue" 
                            Type="Int32" /> 
                    </SelectParameters> 
                    <DeleteParameters> 
                        <asp:Parameter Name="original_ID" Type="Int32" /> 
                        <asp:Parameter Name="original_hID" Type="Int32" /> 
                        <asp:Parameter DbType="DateTime" Name="original_Date" /> 
                        <asp:Parameter Name="original_Work_Performed" Type="String" /> 
                        <asp:Parameter Name="original_Operator" Type="Int32" /> 
                        <asp:Parameter Name="original_Notes" Type="String" /> 
                    </DeleteParameters> 
                    <UpdateParameters> 
                        <asp:Parameter Name="hID" Type="Int32" /> 
                        <asp:Parameter DbType="DateTime" Name="Date" /> 
                        <asp:Parameter Name="Work_Performed" Type="String" /> 
                        <asp:Parameter Name="Operator" Type="Int32" /> 
                        <asp:Parameter Name="Notes" Type="String" /> 
                        <asp:Parameter Name="original_ID" Type="Int32" /> 
                        <asp:Parameter Name="original_hID" Type="Int32" /> 
                        <asp:Parameter DbType="DateTime" Name="original_Date" /> 
                        <asp:Parameter Name="original_Work_Performed" Type="String" /> 
                        <asp:Parameter Name="original_Operator" Type="Int32" /> 
                        <asp:Parameter Name="original_Notes" Type="String" /> 
                    </UpdateParameters> 
                    <InsertParameters> 
                        <asp:Parameter Name="hID" Type="Int32" /> 
                        <asp:Parameter DbType="DateTime" Name="Date" /> 
                        <asp:Parameter Name="Work_Performed" Type="String" /> 
                        <asp:Parameter Name="Operator" Type="Int32" /> 
                        <asp:Parameter Name="Notes" Type="String" /> 
                    </InsertParameters> 
                </asp:SqlDataSource> 
             
        </telerik:RadPane> 
    </telerik:RadSplitter> <asp:SqlDataSource ID="dsOperators" runat="server"   
        ConnectionString="<%$ ConnectionStrings:csWIRMS %>"   
        SelectCommand="SELECT [Operator], [ID] FROM [app_Operators] WHERE ([Enabled] = @Enabled)">  
        <SelectParameters> 
            <asp:Parameter DefaultValue="True" Name="Enabled" Type="Boolean" /> 
        </SelectParameters> 
    </asp:SqlDataSource> 


Veli
Telerik team
 answered on 28 Aug 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?