Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
169 views
I have a RadGrid on the page with AllowPaging="true" and PageSize="25". Everything works fine except that the "Page size" dropdown is appearing in the wrong place when I click it. It seems to be offset a couple hundred pixels to the right of where it is supposed to be. The amount of the offset is related to the size of the browser window, if I change the browser size then the dropdown is offset by a different amount.

This is occuring on IE and Chrome (other browsers not tested). I'm not doing anything custom for the paging controls. I'm not sure how to fix this. Do you have any suggestions on how to fix this?
Patrick
Top achievements
Rank 1
 answered on 01 Jun 2011
4 answers
437 views
Hi guys,
I have a particular need on a project I'm working on: I need to change the background image of the RadToolbar's buttons when the user moves the mouse over them or click on them.
The problem is that I have different background images.

So, if you click/mouse over on the first button I need to change it's background to image1.png, on the second button to image2.png, and so on.

ButtonA => Image1.png
ButtonB => Image2.png
ButtonC => Image3.png
ButtonD => Image1.png
ButtonE => Image1.png
ButtonF => Image4.png

I can't figure out how to do such a thing.

Any help is appreciated.

Thanks,
Daniele Salatti
Kate
Telerik team
 answered on 01 Jun 2011
2 answers
121 views
Hi,

I am using css in my project as embedded resource. I am facing one issue in that. Those all css are applying on all controls of projects but specifically with TreView there are no effect of that css. I checked with F12 in IE and FireBug in FF and found the css classes rtTop,rtSp, rtIn all are there  but there is no effect of that css. I went throught Clear css project and it is working but when i did the same embedded thing with my project it is not working.

Can you please tell me what is missing here ?

Thanks,
--JP
Jai
Top achievements
Rank 1
 answered on 01 Jun 2011
7 answers
169 views
I am trying to work with the Editor for the first time and am following the getting started page below:
http://www.telerik.com/help/aspnet-ajax/gettingstarted.html

When I get to steps 8 and 9 these options are not available in the smart tag. I followed all the steps up to this point. Any clues as to why this is not available for me? Thanks!

8. From the Smart Tag menu, select the Enable RadEditor Dialogs link
9. From the Smart Tag menu, select the Enable spell check for RadEditor link.



umar
Top achievements
Rank 1
 answered on 01 Jun 2011
2 answers
97 views
I tried to reset the styles of RadEditor following the instructions in this post explain, but the result is that my publishers are using the rules defined in the main stylesheet. Any idea how I could fix it?.

Like you can see in the screenshot that i send you. The problem it's that RadEditor continue load the rules defined in the global styles for the body element, like a background image, center text and no scrollbars (overflow:hidden)

This it's the code that i use to trying to reset the styles, in the head of my masterpage, before the link to the global stylesheet.

<style type="text/css">
        .reLeftVerticalSide, .reRightVerticalSide, .reToolZone, .reToolCell
        {
            background: white transparent !important;
            text-align: left;
            overflow: auto;
        }
        .RadEditor table, .reToolbar, .reToolbar li, .reTlbVertical, .reDropDownBody ul, .reDropDownBody ul li, .RadWindow table, .RadWindow table td, .RadWindow table td ul, .RadWindow table td ul li
        {
            margin: 0 !important;
            padding: 0 !important;
            border: 0 !important;
            list-style: none !important;
        }
        .reWrapper_corner, .reWrapper_center, .reLeftVerticalSide, .reRightVerticalSide, .reToolZone, .reEditorModes, .reResizeCell, .reToolZone table td, .RadEditor .reToolbar, .RadEditor .reEditorModes
        {
            border: 0 !important;
        }
        .reToolbar li, .reToolbar ul li, .reInsertTable .reTlbVertical .reToolbar li
        {
            float: left !important;
            clear: none !important;
            border: 0 !important;
        }
    </style>

I'm using Windows XP SP3 with Internet Explorer 6.0 and Q1 2010.

I look forward to your response

Regards,
Felipe Meléndez
Felipe de Jesús
Top achievements
Rank 1
 answered on 01 Jun 2011
3 answers
127 views

The server side event not firing when page is ajaxed and onclientclick is added

The method GV1_update does not fire


Code:====================================================

 

 

<form id="form1" runat="server">

 

 

 

 

 

 

 

 

<asp:ScriptManager ID="ScriptManager" runat="server" />

 

 

<

 

telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" EnableAJAX= "true" EnableEmbeddedScripts="true" >

 

 

</

 

telerik:RadAjaxManager>

 

 

<

 

telerik:RadAjaxPanel ID="RadAjaxPanel" runat="server">

 

 

 

 

 

 

 

 

 

<asp:GridView ID="GV_EmpStatus" runat="server" AutoGenerateColumns="False" Width="264px">

 

 

 

 

 

 

 

 

<Columns>

 

 

 

 

 

 

 

 

<asp:TemplateField HeaderText="Code">

 

 

 

 

 

 

 

 

<ItemTemplate>

 

 

 

 

 

 

 

 

<asp:LinkButton ID="employmentStatusCode" Width="50px" runat="server" OnClick="Get_EmpStatusReason"

 

 

 

 

 

 

 

 

Text='<%#DataBinder.Eval(Container.DataItem, "employmentStatusCode")%>'>

 

 

 

 

 

 

 

 

</asp:LinkButton>

 

 

 

 

 

 

 

 

</ItemTemplate>

 

 

 

 

 

 

 

 

</asp:TemplateField>

 

 

 

 

 

 

 

 

<asp:TemplateField HeaderText="Description">

 

 

 

 

 

 

 

 

<ItemTemplate>

 

 

 

 

 

 

 

 

<asp:TextBox ID="employmentStatusDesc" BorderStyle="None" Width="170px" runat="server"

 

 

 

 

 

 

 

 

Text='<%#DataBinder.Eval(Container.DataItem, "employmentStatusDesc")%>'>

 

 

 

 

 

 

 

 

</asp:TextBox>

 

 

 

 

 

 

 

 

</ItemTemplate>

 

 

 

 

 

 

 

 

</asp:TemplateField>

 

 

 

 

 

 

 

 

<asp:TemplateField>

 

 

 

 

 

 

 

 

<ItemTemplate>

 

 

 

 

 

 

 

 

<asp:ImageButton ID="btnupdate1" runat="server" ImageUrl="../Image/pencil2.gif" OnClick="GV1_update"

 

 

 

 

 

 

 

 

ToolTip="Update" OnClientClick="if(!ValidateDesc(this,'btnupdate1','employmentStatusDesc')) {return false}else {return true};"/>

 

 

 

 

 

 

 

 

</ItemTemplate>

 

 

 

 

 

 

 

 

</asp:TemplateField>

 

 

 

 

 

 

 

 

</Columns>

 

 

 

 

 

 

 

 

<SelectedRowStyle BackColor="Transparent" Font-Bold="True" />

 

 

 

 

 

 

 

 

<HeaderStyle BackColor="#E0E0E0" />

 

 

 

 

 

 

 

 

</asp:GridView>

 

 

 

 

 

 

 

</

 

 

telerik:RadAjaxPanel>

 

 

 

 

 

 

 

 

 

</form>

 

mike
Top achievements
Rank 1
 answered on 01 Jun 2011
4 answers
649 views
Hello,

As I have to test some RadControls components for my company, I'm currently working on the TreeList control. Even if I only try to do basic stuff (populate the control with a database query) It doesn't work and I just can't figure out why !
My previous investigation lead me to think that issue is related to DataKeyNames and ParentDataKeyNames properties but I'm not sure.
So instead of talking about my work, I'll let you get an code snippet so as you can take a look at it :

<telerik:RadTreeList ID="RadTreeList1" runat="server"
        AllowMultiItemEdit="False" AllowPaging="True" Culture="(Default)"
        DataKeyNames="SousThemeID" ParentDataKeyNames="SousThemThemeID" AutoGenerateColumns="True" DataSourceID="SqlDataSource1" IsItemInserted="False">
 
<ValidationSettings CommandsToValidate="PerformInsert,Update"></ValidationSettings>
        <Columns>
            <telerik:TreeListBoundColumn UniqueName="column"></telerik:TreeListBoundColumn>
        </Columns>
<EditFormSettings EditFormType="AutoGenerated"></EditFormSettings>
</telerik:RadTreeList>
    <asp:SqlDataSource ID="SqlDataSource1" runat="server"
        ConnectionString="<%$ ConnectionStrings:ContenuConnectionString %>"
        SelectCommand="SELECT [SousThemeID], [SousThemLibelle], [SousThemThemeID] FROM [SousTheme]">
    </asp:SqlDataSource>


Here's a little explanation concerning my query :

1. it works well so the problem doesn't come from here
2. SousThemeID : Integer, SousThemLibelle : String, SousThemThemeID : integer
3. SousTheme (which means under-theme or theme below) is related to Theme (Theme.ThemeID = SousTheme.SousThemThemeID).

Example  :

[ 1 ] [ "test" ] [ 1 ]
[ 2 ] [ "whatever you want" ] [ 1 ]
[ 3 ] [ "Computer" ] [ 1 ]
[ 4 ] [ "Economy" ] [ 2 ]
[ 5 ] [ "Finance" ] [ 2 ]


If you have any idea on what's going wrong in my code, please let me know.
Thanks in advance.


Alexandre.
alexandre
Top achievements
Rank 1
 answered on 01 Jun 2011
1 answer
80 views

I have 4 RadTextBoxes on my form.  I'm using txtComments.Text to get the text the user has entered.  However,  The text property is blank.  Is there something I'm missing?

ASPX:

 

 

 

<telerik:RadTextBox ID="txtDocumentReviewer" runat="server" MaxLength="1500" Skin="DMID" EnableEmbeddedSkins="False" Columns="50" Rows="5" TextMode="MultiLine" > </telerik:RadTextBox>

C#:

 

 

 

oProfile.DocumentReviewerComments = txtDocumentReviewer.Text;

 

Annette
Top achievements
Rank 1
 answered on 01 Jun 2011
1 answer
106 views
Hi,
 I have One Grid View when i click submit button whole grid values saved in database and showing one alert message. When Displaying Alert Message the gridview disappears in the background.
I m using below script to show Display message

ScriptManager.RegisterClientScriptBlock(

Me, Me.GetType, "clientScript", "alert('Rates has Updated Successfully');", True). Can any give me any solution for this.

 



Marin
Telerik team
 answered on 01 Jun 2011
3 answers
93 views
Hi,  By typing in starting letters, radcombo can auto complete selection for first match.  Is there any way to do auto complete for non starting letters ? For example:    If the dropdown list options are  "red apple"  "green apple" "red grape" "green grape".   user type in "red" and press Tab,  the "red apple"  will be auto selected.   Is there any way to auto select "red apple" by typing in "apple" ?

Thanks

-susan
Dimitar Terziev
Telerik team
 answered on 01 Jun 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?