Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
105 views
I was having an issue where fade transitions did not work on the rotator when set to slideshowbuttons. Come to find out, it was because there was more than 13 images in the folder. If I add the 14th, it breaks. Anyone know how to correct this or bypass it?
Fiko
Telerik team
 answered on 18 Mar 2009
3 answers
160 views
A rad textbox input area is 3px shorter than the width="nnnpx" declaration. This occurs in Q1 2009 release. The Q3 2008 version is fine.

<Telerik:RadNTextBox ID="TextBox3" runat="server" Width="100px" Skin="Office2007" /> 

This has an input of size 97px. Here's the generated html.

<input id="ctl00_mainPlace_TextBox3_text" class="riTextBox riEnabled" type="text" style="width: 97px;" name="ctl00_mainPlace_TextBox3_text" size="20"/> 

Regards,
Steve


Dimo
Telerik team
 answered on 18 Mar 2009
1 answer
162 views
I get this error when setting the contents of the radeditor.

How can it be solved?
Svetlina Anati
Telerik team
 answered on 18 Mar 2009
2 answers
100 views

I have the following scenario. I have a skin file that determines default settings for RadGrids in my project. One of the settings is this:

<ClientSettings> 
  <Selecting AllowRowSelect="False" /> 
  <Resizing AllowRowResize="False" /> 
</ClientSettings> 

On one of my pages I need to allow selecting rows on a RadGrid.
Just setting the AllowRowSelect to true doesn't seem to do the trick and the settings from the skin file seems to trump the local settings on the Grid.

How do I allow selecting rows on a RadGrid in my solution without having to change the default setting in the skin file?
Can the "!important" keyword be used somehow?
This questions seems very trivial to me, yet I'm unable to find an answer.
Any help is appreciated.
Stephan
Top achievements
Rank 1
 answered on 18 Mar 2009
5 answers
1.1K+ views
I have the following setup on my page (an AjaxManager, a grid, and panel with a button in it):

<telerik:radajaxmanager id="RadAjaxManager1" runat="server"
    <ajaxsettings> 
    <telerik:AjaxSetting AjaxControlID="RadGrid1"
        <UpdatedControls> 
            <telerik:AjaxUpdatedControl ControlID="RadGrid1" LoadingPanelID="RadAjaxLoadingPanel1" /> 
            <telerik:AjaxUpdatedControl ControlID="pnlTabs" /> 
        </UpdatedControls> 
    </telerik:AjaxSetting> 
    <telerik:AjaxSetting AjaxControlID="btnReset" > 
        <UpdatedControls> 
            <telerik:AjaxUpdatedControl ControlID="RadGrid1" LoadingPanelID="RadAjaxLoadingPanel1" /> 
            <telerik:AjaxUpdatedControl ControlID="pnlTabs" LoadingPanelID="RadAjaxLoadingPanel1"  /> 
        </UpdatedControls> 
    </telerik:AjaxSetting> 
</ajaxsettings> 
</telerik:radajaxmanager> 
<telerik:radajaxloadingpanel id="RadAjaxLoadingPanel1" runat="server" transparency="30" 
    backcolor="#E0E0E0" initialdelaytime="500"
    <asp:Image ID="imgLoading" Style="margin-top: 100px" runat="server" ImageUrl="~/Images/Loading.gif" 
        BorderWidth="0px" AlternateText="Loading" /> 
</telerik:radajaxloadingpanel> 
 
<asp:Panel ID="pnlRadGrid" runat="server"
    <telerik:RadGrid ID="RadGrid1" runat="server"
    ... 
    </telerik:RadGrid> 
</asp:Panel> 
 
<asp:Panel ID="pnlTabs" runat="server"
    <asp:Button ID="btnReset" runat="server" /> 
    ...(Telerik Tabs/MultiView containing user controls) 
</asp:Panel> 

When I select an item from the grid (SelectedIndexChanged event fires), the pnlTabs becomes visible and the grid is overlaid with the loading panel.  So that part works fine.

However, when I click the "Reset" button, the loading is not displayed on either the pnlTabs or the RadGrid1.  Both are properly updated (pnlTabs is made invisible and RadGrid1 is updated), but the loading panel does not display.  Any ideas on how to resolve this?

Thanx,

Rick
Iana Tsolova
Telerik team
 answered on 18 Mar 2009
1 answer
180 views
i have to problems in my radgrid i want to make the header hieght smaller ...i tried changing the property and using the stylesheet to reduce hight and padding and it still doesnt work
the other problem i want to have a static header i enabled it but it is still moving...is it possible because i am placing the grid in a radpane
Dimo
Telerik team
 answered on 18 Mar 2009
1 answer
93 views
Hello, i have to customize a RadHtmlField on my page with these two requirements, by i am not be able to do that:
1- remove from the "Apply CSS" dropdown list the default CSS styles contained in the HtmlEditorTableFormats.css and the HtmlEditorCustomStyles.css because i need to show only my customized styled that i have defined in another CSS file. If I rename these two files CSS styles will not be displayed inside the dropdown and it still working but if I want to insert a RichHtmlField from SharepointControl inside my page it generate an error, because it cannot find the CSS files.

2- change the width of the ToolBar, because i have resized the Editor Form to but when I click on that it will displayed the Toolbar with all butttons with the default width="680px"

3- I want to customize the output html: if i am applying a CSS style i don't want it is included in a <span> but for example in another tag. Can i manage this html output?

Can anybody help me, please?
thank u

Marco
sda
Top achievements
Rank 1
 answered on 18 Mar 2009
5 answers
151 views
Hi,

I try to fix these probleme since a time ( try to find a solution in this forum or in the documentation) but nothings works.

My scenario is the following:

I load inside a RadWindow an Aspx to upload picture. When the picture is uploaded i show a message to confirm the upload ( i play with asp panel).
When the user close de RadWindow, i take the argument from the close function and i update with ajax the picture in the ascx.
So far, so good. it's work perfect.

But if i want to upload a new picture, when i click on the link to open the RadWindow, the RadWindow don't make a reload of the aspx but i have the last state of the page ( the confirmation message)

I try to implement DestroyOnClose ( int the RadWindowManager and /or in the RadWindow) but without effect.

Here is my code:

function OpenUpload(_url) { 
        var oWnd = radopen(_url, "RadWindow_Logo"); 
        oWnd.add_close(OnClientClose); 
    } 
 
    function OnClientClose(oWnd, args) { 
        var arg = oWnd.argument; 
        if (arg) { 
            var fileName = arg
            var hid_input = document.getElementById('<%=hid_PictureName.ClientID %>') 
            if (hid_input != null) { 
                hid_input.value = fileName
            } 
         
            var btn = document.getElementById('<%=btn_updatePicture.ClientID %>') 
            if (btn != null) { 
                btn.click(); 
            } 
        } 
    } 
 
 
<telerik:RadCodeBlock ID="RadCodeBlock1" runat="server"
                            <href="javascript:OpenUpload('Upload.aspx?Id=<%=UserSession.GetCompanyIdFromCustomerUser()%>&UploadType=Logo')">Upload een nieuw logo</a> 
                        </telerik:RadCodeBlock> 
                        <telerik:RadWindowManager ID="RadWindowManager_logo" runat="server" Skin="Office2007"
                            <Windows> 
                                <telerik:RadWindow ID="RadWindow_Logo" runat="server" Height="200px" Width="300px" Left="600" 
                                Top="200" VisibleOnPageLoad="false" Behavior="Close" OnClientClose="OnClientClose" VisibleStatusbar="false"  DestroyOnClose="true" EnableViewState="false"  /> 
                            </Windows> 
                        </telerik:RadWindowManager> 


Another problem is that i don't want to see the statubar of the RadWindow. VisibleStatusBar is on false but without effect.


Your help would be appreciate!

Thanks,

Edwin.



Georgi Tunev
Telerik team
 answered on 18 Mar 2009
1 answer
98 views
hi,

Whenever an ajax postback is fired the file selected in the upload control gets cleared. Like if i select a item from dropdown ajax postback is fired and the upload control gets cleared.
Genady Sergeev
Telerik team
 answered on 18 Mar 2009
8 answers
177 views
Hi there.

I have some issues with clientside scripting of the combobox. All the getters and setters don´t work.

Definition:
var combo_route = $get('<%= DropDown_Routes.ClientID %>');
combo_route.set_text(title);

Produces an "is not a function error" (it is not undefined! "ctl00_navisub_DropDown_Routes"). Am I missing something here?

Best regards,
Elamr
Awais
Top achievements
Rank 1
 answered on 18 Mar 2009
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?