Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
224 views
I have tried all the demos and examples and nothing has worked!
Markup:
<telerik:RadGrid ID="grvUsers"   
                     runat="server"   
                     AutoGenerateColumns="False"   
                     GridLines="None" 
                     Skin="Office2007"   
                     OnNeedDataSource="grvUsers_NeedDataSource"   
                     OnUpdateCommand="grvUsers_UpdateCommand"   
                     AllowPaging="True"   
                     AllowSorting="True"   
                     ShowGroupPanel="True" OnItemCommand="grvUsers_ItemCommand" OnEditCommand="grvUsers_EditCommand">  
        <MasterTableView AllowAutomaticInserts="True" CommandItemDisplay="Top">  
            <RowIndicatorColumn Visible="False">  
                <HeaderStyle Width="20px" /> 
            </RowIndicatorColumn> 
            <ExpandCollapseColumn Resizable="False" Visible="False">  
                <HeaderStyle Width="20px" /> 
            </ExpandCollapseColumn> 
            <Columns> 
                <telerik:GridEditCommandColumn> 
                </telerik:GridEditCommandColumn> 
                <telerik:GridBoundColumn DataField="LastName" HeaderText="Last Name" UniqueName="LastName">  
                </telerik:GridBoundColumn> 
                <telerik:GridBoundColumn DataField="FirstName" HeaderText="First Name" UniqueName="FirstName">  
                </telerik:GridBoundColumn> 
                <telerik:GridBoundColumn DataField="UserLevel" HeaderText="User Rights" UniqueName="Rights">  
                </telerik:GridBoundColumn> 
                <telerik:GridBoundColumn DataField="Enabled" HeaderText="Enabled" UniqueName="Enabled">  
                </telerik:GridBoundColumn> 
                <telerik:GridBoundColumn DataField="UserInfoUID" UniqueName="UserInfoUID" Visible="False">  
                </telerik:GridBoundColumn> 
                <telerik:GridBoundColumn DataField="UserName" UniqueName="UserName" Visible="False">  
                </telerik:GridBoundColumn> 
            </Columns> 
            <EditFormSettings EditFormType="Template" CaptionFormatString="Edit the information for &lt;%# Bind('FirstName') %&gt; &lt;%# Bind('LastName') %&gt;" > 
                <EditColumn UniqueName="EditCommandColumn1"></EditColumn> 
                <FormTemplate> 
                    <table style="width: 568px">  
                        <tr> 
                            <td style="width: 131px">  
                                Last Name</td> 
                            <td style="width: 160px">  
                                <telerik:RadTextBox ID="txtEdit_LastName" runat="server" MaxLength="50" Text="<%# Bind('LastName') %>">  
                                </telerik:RadTextBox></td>  
                            <td> 
                                <asp:RequiredFieldValidator ID="rfvEdit_LastName" runat="server" ControlToValidate="txtEdit_LastName" 
                                    ErrorMessage="Please enter the users last name" ValidationGroup="Edit">*</asp:RequiredFieldValidator> 
                            </td> 
                            <td style="width: 174px">  
                                First Name</td> 
                            <td style="width: 156px">  
                                <telerik:RadTextBox ID="txtEdit_FirstName" runat="server" MaxLength="50" Text="<%# Bind('FirstName') %>">  
                                </telerik:RadTextBox></td>  
                            <td> 
                                <asp:RequiredFieldValidator ID="rfvEdit_FirstName" runat="server" ControlToValidate="txtEdit_FirstName" 
                                    ErrorMessage="Please enter the users first name" ValidationGroup="Edit">*</asp:RequiredFieldValidator></td>  
                        </tr> 
                        <tr> 
                            <td style="width: 131px">  
                                Username</td> 
                            <td style="width: 160px">  
                                <telerik:RadTextBox ID="txtEdit_Username" runat="server" Text="<%# Bind('Username') %>">  
                                </telerik:RadTextBox></td>  
                            <td> 
                                <asp:RequiredFieldValidator ID="rfvEdit_UserName" runat="server" ControlToValidate="txtEdit_Username" 
                                    ErrorMessage="Please enter the users 'Username'" ValidationGroup="Edit">*</asp:RequiredFieldValidator></td>  
                            <td style="width: 174px">  
                            </td> 
                            <td style="width: 156px">  
                            </td> 
                            <td> 
                            </td> 
                        </tr> 
                        <tr> 
                            <td style="width: 131px; height: 27px">  
                                Password</td> 
                            <td style="width: 160px; height: 27px">  
                                <telerik:RadTextBox ID="txtEdit_Password" runat="server" InvalidStyleDuration="100" Text="<%# Bind('Password') %>" Width="125px" EmptyMessage="************" MaxLength="20" TextMode="Password">  
                                </telerik:RadTextBox></td>  
                            <td style="height: 27px">  
                            </td> 
                            <td style="width: 174px; height: 27px">  
                                Password</td> 
                            <td style="height: 27px; width: 156px;">  
                                <telerik:RadTextBox ID="txtEdit_ConfirmPassword" runat="server" InvalidStyleDuration="100" Text="<%# Bind('Password') %>" TextMode="Password" Width="125px" EmptyMessage="***********" MaxLength="20">  
                                </telerik:RadTextBox> 
                            </td> 
                            <td style="height: 27px">  
                            </td> 
                        </tr> 
                        <tr> 
                            <td> 
                                Rights</td> 
                            <td> 
                                <asp:DropDownList ID="cmbEdit_Rights" runat="server" Width="119px" SelectedValue='<%# Bind("UserLevel") %>'>  
                                    <asp:ListItem>User</asp:ListItem> 
                                    <asp:ListItem>Admin</asp:ListItem> 
                                </asp:DropDownList></td>  
                            <td> 
                            </td> 
                            <td> 
                                Enabled</td> 
                            <td> 
                                <asp:DropDownList ID="cmbEdit_Enabled" runat="server" Width="119px" SelectedValue='<%# Bind("Enabled") %>'>  
                                    <asp:ListItem Value="True">Yes</asp:ListItem> 
                                    <asp:ListItem Value="False">No</asp:ListItem> 
                                </asp:DropDownList></td>  
                            <td> 
                            </td> 
                        </tr> 
                        <tr> 
                            <td colspan="6">  
                            </td> 
                        </tr> 
                        <tr> 
                            <td align="right" colspan="6">  
                                <asp:LinkButton ID="lnkEdit_Cancel" runat="server" CausesValidation="False" CommandName="Cancel" Text='<%# (Container is GridEditFormInsertItem) ? "Done" : "Cancel" %>' >Cancel</asp:LinkButton>&nbsp;  
                                &nbsp;<asp:LinkButton ID="lnkEdit_Done" runat="server" CommandName='<%# (Container is GridEditFormInsertItem) ? "PerformInsert" : "Update" %>' Text='<%# (Container is GridEditFormInsertItem) ? "Save" : "Save Changes" %>'></asp:LinkButton> 
                                &nbsp;  
                            </td> 
                        </tr> 
                        <tr> 
                            <td align="center" colspan="6">  
                                <asp:Label ID="lblUID" runat="server" Text="<%# Bind('UserInfoUID') %>" Visible="False"></asp:Label> 
                                <asp:Label ID="lblEdit_Message" runat="server"></asp:Label> 
                            </td> 
                        </tr> 
                        <tr> 
                            <td align="center" colspan="6" style="height: 21px">  
                                <asp:ValidationSummary ID="vsEdit" runat="server" ValidationGroup="Edit" /> 
                            </td> 
                        </tr> 
                    </table> 
                </FormTemplate> 
                <PopUpSettings ScrollBars="None" /> 
            </EditFormSettings> 
            <CommandItemSettings AddNewRecordText="Add new user" /> 
            <PagerStyle AlwaysVisible="True" HorizontalAlign="Left" Mode="Slider" /> 
        </MasterTableView> 
        <ClientSettings AllowColumnsReorder="True" ReorderColumnsOnClient="True" AllowDragToGroup="True">  
            <Selecting AllowRowSelect="True" /> 
        </ClientSettings> 
    </telerik:RadGrid> 

Now, heres where it works and doesn't. If I have this line (similar for the second drop down):
 <asp:DropDownList ID="cmbEdit_Enabled" runat="server" Width="119px" SelectedValue='<%# Bind("Enabled") %>'>  
                                    <asp:ListItem Value="True">Yes</asp:ListItem> 
                                    <asp:ListItem Value="False">No</asp:ListItem> 
                                </asp:DropDownList> 
when I go into edit mode, the drop downs are populated with the current values which is a project requirement.  But when I click the 'Add new user', I get this error:

'cmbEdit_Rights' has a SelectedValue which is invalid because it does not exist in the list of items. Parameter name: value

If I leave out the <%# Bind("UserLevel") %> I can insert and update, but I loose the requirement of displaying the current value which I need.


Please help asap!
Shinu
Top achievements
Rank 2
 answered on 29 Feb 2012
2 answers
319 views
Hello there,

I have a RadListView displaying data in pages of 4 using the RadDataPager:
              <telerik:RadDataPager ID="UnlocatedCasesPager"  
                                                      runat="server"  
                                                      PagedControlID="UnlocatedCasesListView"  
                                                      PageSize="4"
                                    <Fields> 
                                        <telerik:RadDataPagerButtonField FieldType="FirstPrev" /> 
                                        <telerik:RadDataPagerButtonField FieldType="Numeric" PageButtonCount="3" /> 
                                        <telerik:RadDataPagerButtonField FieldType="NextLast" /> 
                                    </Fields> 
                                </telerik:RadDataPager> 

I cannot work out how to hide the pager when there are 4 or less items being displayed in my list view. I have tried using the FindControl method of the ListView to get hold of the pager and hide it if necessary in various places (OnDataBound event and when I actually assign the datasource of the ListView) but that always returns null. The pager is contained in the <LayoutTemplate>.

Thanks very much, Carl
Daryl
Top achievements
Rank 1
 answered on 29 Feb 2012
3 answers
126 views
I was referring telerik demo for such functionality - http://demos.telerik.com/aspnet-ajax/combobox/examples/functionality/templates/defaultcs.aspx

The only change is i am using treeview with checkbox in RadComboBox. I wanted to display checked items of combobox as comobobox text with comma on collapse.

How to do that?
Teoman
Top achievements
Rank 1
 answered on 29 Feb 2012
4 answers
91 views
Hi,
We have treeview with checkbox in combobox.We dont have any problem with chrome and firefox but combobox doesnt closed when we focused out of the control in IE.

<telerik:RadComboBox ID="cbxDepartments" runat="server" DataTextField="DEPNAME" DataValueField="DEPID"
                                ExpandAnimation-Type="None" CollapseAnimation-Type="None" OnClientDropDownClosing="OnClientDropDownClosing"
                                AllowCustomText="True" EmptyMessage="-- seçiniz --">
                                <ItemTemplate>
                                    <div id="div1">
                                        <telerik:RadTreeView ID="tvDepartments" runat="server" DataTextField="DEPNAME" DataValueField="DEPID"
                                            DataFieldParentID="SUBDEPID" DataFieldID="DEPID" Height="140px" CheckBoxes="true">
                                        </telerik:RadTreeView>
                                    </div>
                                </ItemTemplate>
                                <Items>
                                    <telerik:RadComboBoxItem Text="" />
                                </Items>
                                <ExpandAnimation Type="Linear"></ExpandAnimation>
                                <CollapseAnimation Type="None"></CollapseAnimation>
                            </telerik:RadComboBox>

 <telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
        <script type="text/javascript">
            function OnClientDropDownClosing(sender, args) {
                //            if (args.get_node().get_level() == 0)
                //            {
                //                args.set_cancel(true);
                //            }
                //            else {
                var item = sender.get_items().getItem(0); // Get the first RadComboBoxItem
                var treeView = item.findControl('tvDepartments'); // Find your RadTreeView
                var checkedNodes = treeView.get_checkedNodes(); // Retrieve the checked items in the RadTreeView

                var newText = '';
                checkedNodes.forEach(function (node) {  // Loop through the checked nodes. Requires jQuery!
                    if (newText != '') { newText += ', '; }
                    newText += node.get_text();
                });
                var comboBox = $find("<%= cbxDepartments.ClientID %>");
                comboBox.set_text(newText); // Set the RadComboBox text
                if ($.browser.msie) { // IE sometimes takes two tries for it to respond to new text
                    comboBox.set_text(newText);
                    //                }
                }
            }
        </script>


Teoman
Top achievements
Rank 1
 answered on 29 Feb 2012
1 answer
174 views
I have been through your sampels http://demos.telerik.com/aspnet-ajax/window/examples/browserdialogboxes/defaultcs.aspx  and I have no issues getting these to work.  But I have been unsuccesful in getting the values of the confirm in my serverside code behind.  Basically im trying to fire one server side function if yes/true and  a different server side sub if no/false.  In your samples you are firing a javascript to display the result, thats fine but unfunctional for my application. 
Jarrett
Top achievements
Rank 2
 answered on 28 Feb 2012
4 answers
156 views
Hello,

I have several RadComboBoxes that interact with each other using client-side methods and requesting the items on demand, like here: http://demos.telerik.com/aspnet-ajax/combobox/examples/functionality/multiplecomboboxes/defaultcs.aspx
This works well, but when I need the SelectedValue it's always empty.

Can anyone help me please? (I don't know what I'm doing wrong...)

Here I put the code used:

RadComboBoxes
<telerik:RadComboBox ID="cboProvinciaT" runat="server" Width="200px" OnClientSelectedIndexChanging="LoadLocalidades" OnItemsRequested="cboProvinciaT_ItemsRequested" MarkFirstMatch="true" Skin="Sunset"></telerik:RadComboBox>
<telerik:RadComboBox ID="cboLocalidadT" runat="server" Width="200px" OnClientSelectedIndexChanging="LoadTiposVia" OnClientItemsRequested="ItemsLoaded" OnItemsRequested="cboLocalidadT_ItemsRequested" MarkFirstMatch="true" Skin="Sunset"></telerik:RadComboBox>
<telerik:RadComboBox ID="cboTipoViaT" runat="server" Width="80px" OnClientSelectedIndexChanged="LoadNombresVia" OnClientItemsRequested="ItemsLoaded" OnItemsRequested="cboTipoViaT_ItemsRequested" MarkFirstMatch="true" Skin="Sunset"></telerik:RadComboBox>
<telerik:RadComboBox ID="cboNombreVia" runat="server" OnClientItemsRequested="ItemsLoaded" OnItemsRequested="cboNombreVia_ItemsRequested" Filter="Contains" Skin="Sunset"></telerik:RadComboBox>

Scripts
<script type="text/javascript">
    var LocalidadesCombo;
    var TiposViaCombo;
    var NombresVia;
 
    function pageLoad() {
        LocalidadesCombo = $find("<%= cboLocalidadT.ClientID %>");
        TiposViaCombo = $find("<%= cboTipoViaT.ClientID %>");
        NombresVia = $find("<%= cboNombreVia.ClientID %>");
    }
 
    function LoadLocalidades(sender, eventArgs) {
        var item = eventArgs.get_item();
        LocalidadesCombo.set_text("Cargando...");
        TiposViaCombo.clearSelection();
 
        if (item.get_index() > 0) {
            LocalidadesCombo.requestItems(item.get_value(), false);
            LocalidadesCombo.clearSelection();
        }
        else {
            LocalidadesCombo.set_text(" ");
            LocalidadesCombo.clearItems();
 
            TiposViaCombo.set_text(" ");
            TiposViaCombo.clearItems();
        }
    }
 
    function LoadTiposVia(sender, eventArgs) {
        var item = eventArgs.get_item();
 
        TiposViaCombo.set_text("Cargando...");
        TiposViaCombo.requestItems(item.get_value(), false);
        TiposViaCombo.clearSelection();
 
        if (item.get_index() > 0) {
            TiposViaCombo.requestItems(item.get_value(), false);
            TiposViaCombo.clearSelection();
        }
        else {
            TiposViaCombo.set_text(" ");
            TiposViaCombo.clearItems();
            NombresVia.set_text(" ");
            NombresVia.clearItems();
        }
 
    }
 
    function LoadNombresVia(sender, eventArgs) {
        var item = eventArgs.get_item();
        NombresVia.set_text("Cargando...");
        NombresVia.requestItems(item.get_value(), false);
        NombresVia.clearSelection();
    }
 
    function ItemsLoaded(sender, eventArgs) {
       sender.showDropDown();
    }
</script>

Page_Load (server-side)
if (!Page.IsPostBack)
{
    CargarProvincias(); //This method fill cboProvinciaT
}
else if (!Page.IsCallback)
{
    LoadLocalidades(cboProvinciaT.SelectedValue);
    LoadTiposVia(cboLocalidadT.SelectedValue);
    LoadNombresVia(cboTipoViaT.SelectedValue);
}

Rest of functions
#region Dirección
 
protected void LoadLocalidades(string pIdProvincia)
{
 
    try
    {
        AD.Motor mMotorAD = new AD.Motor();
 
        DataTable mDT = new DataTable();
 
        mDT = mMotorAD.ExecuteDataTable("Select 0 as ID, 'Localidad...' as Nombre union SELECT ID, Nombre FROM tlLocalidadDN where idProvincia=" + pIdProvincia + " ORDER BY Nombre ASC");
 
        DataSet mDS = new DataSet();
        mDS.Tables.Add(mDT);
 
        cboLocalidadT.DataTextField = "Nombre";
        cboLocalidadT.DataValueField = "ID";
        cboLocalidadT.DataSource = mDS.Tables[0];
        cboLocalidadT.DataBind();
         
 
 
    }
    catch (Exception ex)
    {
 
        throw ex;
    }
     
}
protected void LoadTiposVia(string pIdLocalidad)
{
    try
    {
        AD.Motor mMotorAD = new AD.Motor();
 
        DataTable mDT = new DataTable();
 
        mDT = mMotorAD.ExecuteDataTable("Select 0 as ID, 'Vía..' as Nombre union SELECT ID, Nombre FROM tlTipoViaDN ORDER BY Nombre ASC");
 
        DataSet mDS = new DataSet();
        mDS.Tables.Add(mDT);
 
        cboTipoViaT.DataTextField = "Nombre";
        cboTipoViaT.DataValueField = "ID";
        cboTipoViaT.DataSource = mDS.Tables[0];
        cboTipoViaT.DataBind();
 
 
    }
    catch (Exception ex)
    {
 
        throw ex;
    }
}
protected void LoadNombresVia(string pIdTipoVia)
{
    try
    {
 
        //HERE ALWAYS GET empty ("")
           string
mIdLocalidad = cboLocalidadT.SelectedValue;
        AD.Motor mMotorAD = new AD.Motor();
 
        DataTable mDT = new DataTable();
 
        mDT = mMotorAD.ExecuteDataTable("Select 0 as ID, '  Nombre de la Vía..' as Nombre union SELECT ID, Nombre FROM tlViaDN where idLocalidad=" + mIdLocalidad + " and idTipovia=" + pIdTipoVia + " order by Nombre");
 
        DataSet mDS = new DataSet();
        mDS.Tables.Add(mDT);
 
        cboNombreVia.DataTextField = "Nombre";
        cboNombreVia.DataValueField = "ID";
        cboNombreVia.DataSource = mDS.Tables[0];
        cboNombreVia.DataBind();
 
    }
    catch (Exception ex)
    {
         
        throw ex;
    }
}
protected void LoadNombresVia(string pIdTipoVia, string pIdLocalidad)
{
    try
    {
 
        AD.Motor mMotorAD = new AD.Motor();
 
        DataTable mDT = new DataTable();
 
        mDT = mMotorAD.ExecuteDataTable("Select 0 as ID, '  Nombre de la Vía..' as Nombre union SELECT ID, Nombre FROM tlViaDN where idLocalidad=" + pIdLocalidad + " and idTipovia=" + pIdTipoVia + " order by Nombre");
 
        DataSet mDS = new DataSet();
        mDS.Tables.Add(mDT);
 
        cboNombreVia.DataTextField = "Nombre";
        cboNombreVia.DataValueField = "ID";
        cboNombreVia.DataSource = mDS.Tables[0];
        cboNombreVia.DataBind();
 
    }
    catch (Exception ex)
    {
 
        throw ex;
    }
}
protected void cboNombreVia_ItemsRequested(object o, RadComboBoxItemsRequestedEventArgs e)
{
    LoadNombresVia(e.Text);
}
protected void cboProvinciaT_ItemsRequested(object o, RadComboBoxItemsRequestedEventArgs e)
{
    CargarProvincias();
}
protected void cboLocalidadT_ItemsRequested(object o, RadComboBoxItemsRequestedEventArgs e)
{
    LoadLocalidades(e.Text);
 
}
protected void cboTipoViaT_ItemsRequested(object o, RadComboBoxItemsRequestedEventArgs e)
{
    LoadTiposVia(e.Text);
}
 
#endregion

When I try to get cboLocalidadT.SelectedValue in function LoadNombresVia
protected void LoadNombresVia(string pIdTipoVia)
        {
            try
            {
                //********************************************
                //**** HERE ALWAYS GET EMPTY VALUE --> "" ****
                //********************************************
 
                string mIdLocalidad = cboLocalidadT.Text;
 
                //********************************************
 
                AD.Motor mMotorAD = new AD.Motor();
 
                DataTable mDT = new DataTable();
 
                mDT = mMotorAD.ExecuteDataTable("Select 0 as ID, '  Nombre de la Vía..' as Nombre union SELECT ID, Nombre FROM tlViaDN where idLocalidad=" + mIdLocalidad + " and idTipovia=" + pIdTipoVia + " order by Nombre");
 
                DataSet mDS = new DataSet();
                mDS.Tables.Add(mDT);
 
                cboNombreVia.DataTextField = "Nombre";
                cboNombreVia.DataValueField = "ID";
                cboNombreVia.DataSource = mDS.Tables[0];
                cboNombreVia.DataBind();
 
            }
            catch (Exception ex)
            {
                 
                throw ex;
            }
        }

Thank you very much for your help!!
jeslopmay
Top achievements
Rank 1
 answered on 28 Feb 2012
2 answers
347 views
I have this RadTextBox:
<asp:panel id="div_projectsAssigned" runat="server" class="infoBox-projectsAssigned">
        <telerik:RadTextBox ID="txtProjectsAssigned" runat="server" Text="0"
                   BorderStyle="None" ReadOnly="True" Width="42" >
                    <ClientEvents OnValueChanged="onValueChanged()" />
                    <ReadOnlyStyle HorizontalAlign="Center" BackColor="Transparent" ForeColor="White"
                            Font-Bold="True" Font-Names="Segoe UI" Font-Size="12pt" Width="30px">
                     </ReadOnlyStyle>
       </telerik:RadTextBox>
</asp:panel>

Note the parenthesis on

ClientEvents OnValueChanged="onValueChanged()" />


If I remove the parenthesis from the function call, the function is not executed. If I keep the parenthesis, the function is executed (see below), but the parameters are not passed.
<script type="text/javascript">
 
        function onValueChanged(sender, args) {
 
            if (args.get_oldvalue != args.get_newvalue) {
 
                thisDiv = $get("<%= div_projectsAssigned.ClientID %>");
                esteDiv = "#" + thisDiv;
                animateDiv(thisDiv);
            }
        }
 
        function animateDiv(divToAnimate) {
 
            for (i = 1; i <= 3; i++) {
 
                $(divToAnimate).animate(
                    { "opacity": "0.15" },
                    "slow");
 
                $(divToAnimate).animate(
                    { "opacity": "1.00" },
                    "slow");
            }
        }
 
    </script>

I need the parameters to check if the value in the RadTextBox has changed, and if so, make an amimation.
Any idea about why the parameters are not being passed?
Joaquín
Top achievements
Rank 2
 answered on 28 Feb 2012
5 answers
175 views
With several detail tables at the same level, is there a way to bind each table to a source programmatically? Each one will be calling the same stored procedure, but with a different parameter value.

I'd love to do something like this:
DetailTable1.DataSource = spFillMe 1
DetailTable2.DataSource = spFillMe 2
DetailTable3.DataSource = spFillMe 3

Also, because connection strings are managed in my environment, I can't point SqlDataSources to a table or string on the front page.
Casey
Top achievements
Rank 1
 answered on 28 Feb 2012
1 answer
124 views
Is there any way I can set focus on the textelement in the combobox from client side. I tried setting .focus() method on the client side, but it only keeps the combobox focused, and when i press any key the input text element, inside the combobox does not get focus. Is there any other way to get focus on that.
Dimitar Terziev
Telerik team
 answered on 28 Feb 2012
7 answers
164 views
Hi ,

I need a tooltip to be displayed when I hover mouse over LinkButton.
The tooltip required should have blue border and we need to change font color and size as well.

I have tried using :

<style type="text/css">
    .style1
        {
            color:Red !important;
            border:Blue;
        }
    </style>

And :

<form id="form1" runat="server">
    <rad:RadScriptManager runat="server"></rad:RadScriptManager>
     <div>
                  
        <asp:LinkButton ID="LinkButton1" runat="server" Text="Welcome"></asp:LinkButton>
          
        <rad:RadToolTip ID="Tooltip1" runat="server" Text="Hello Everyone" Enabled="true" CssClass="style1" 
            Font-Size="Medium" TargetControlID="LinkButton1" RelativeTo="Element" Position="BottomCenter" AutoCloseDelay="2000" 
            ShowEvent="OnMouseOver" EnableTheming="true" EnableEmbeddedSkins="true"></rad:RadToolTip>
              
    </div>
    </form>

But the styles are not effecting the Tooltip .
Not sure for the solution ,I also tried using codebehind and using a separate stylesheet. But it didn't help.

Please provide me a solution for implementing this.
rdmptn
Top achievements
Rank 1
 answered on 28 Feb 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?