Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
227 views

Hi,

I have the following code:

<span id="spanBasketHelp" class="help"><id="aBasketHelp" href="#" title="Click for Help" accesskey="h">Help</a></span></h2> 
        <telerik:RadToolTip ID="radHelpToolTip" runat="server" 
            width="300px" 
            ShowEvent="OnClick" 
            RelativeTo="Element" 
            Animation="Resize" 
            TargetControlId="aBasketHelp" 
            IsClientID="true" 
            Sticky="true" 
            Position="TopLeft"        
            Skin="Web20" > 
            <div>Your Basket is like a real basket in a store. It contains all the items you have selected for purchase. As you add things to your Basket, your total will be updated so you always know exactly how much you are spending."</div> 
</telerik:RadToolTip>    

I would expect the contents of the <div> to appear within the ToolTip, but all I get is the Title of the anchor ("CLick for Help") INSIDE the bubble.

Any ideas? I would like to implement some rich formatting within the bubble.


And by the way, your web site is extremely slow.
John Davis
Top achievements
Rank 2
 answered on 19 Feb 2009
8 answers
189 views

hi,
I mean also IE 7 in the post title.
I'm using Q2 2008 SP1 and I have one grid on my page. The problem rises when I load more than 300 rows in my grid which has a column of type GridClientSelectColumn and the grid has AllowMultiRowSelection = true and ClientSettings.Selecting.AllowRowSelect = true.
When I'm clicking the checkbox in the header in order to have all rows selected, it takes very long in IE 6 and IE 7 (at least 7 - 10 secs) Firefox 3.x performs better (1 sec) and IE 8 RC is the best (under 1 sec). The problem is the client still uses IE 6 and IE 7. How can I speed up things? I'm looking for a solution ASAP. Some more information:
Paging is not a solution. The user has to scroll the grid. Yes, I've read about the following settings and IE 6, but they are mandatory: 
<Scrolling AllowScroll="True" UseStaticHeaders="True" ScrollHeight="465px" />
THANKS.

 

 

 

 

Tsvetoslav
Telerik team
 answered on 19 Feb 2009
2 answers
181 views
Hai,
I have a Rad menu in a master page.
But the item click is not working.
Plz help.

Deepak S
Serrin
Top achievements
Rank 1
 answered on 19 Feb 2009
2 answers
251 views
For the life of me, I can't figure this out.  Maybe it has something to do with me not being that great with javascript.  In any case, here's my scenario:

ComboBox3 is dynamically filled client-side based on the selected value in ComboBox2.  That works fine.  Recent design changes now require ComboBox3 to by dynamically filled in the same way, but based on the selected values in both ComboBox1 AND ComboBox2.  I'm basically stuck as I can't figure out how that works on my own.  Please help!

ComboBox1 aspx code
<telerik:RadComboBox Height="132px"   
                    ID="ComboBox1"   
                    Skin="Web20"   
                    Font-Size="8.3pt" 
                    Font-Names="Tahoma" 
                    Runat="server"   
                    Sort="Ascending" 
                    OnClientSelectedIndexChanged="LoadComboBox2" 
                > 
                    <CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation> 
                </telerik:RadComboBox> 

 

ComboBox2 aspx code

<telerik:RadComboBox Height="132px"   
                ID="ComboBox2"   
                Runat="server"   
                Skin="Web20" 
                Font-Size="8.3pt" 
                Font-Names="Tahoma" 
                EmptyMessage="-Select MSA-" 
                Sort="Ascending" 
                OnItemsRequested="ComboBox2_ItemsRequested" 
                OnClientSelectedIndexChanged="LoadComboBox3" 
                > 
                <CollapseAnimation Type="OutQuint" Duration="200" />          
            </telerik:RadComboBox> 

ComboBox3 aspx code
<telerik:RadComboBox Height="132px"   
                ID="ComboBox3"   
                Runat="server"   
                Skin="Web20"   
                Font-Size="8.3pt" 
                Font-Names="Tahoma" 
                Width="200px" 
                EmptyMessage="-Select Building-" 
                Sort="Ascending" 
                OnItemsRequested="ComboBox3_ItemsRequested" 
                > 
                <CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation> 
            </telerik:RadComboBox> 

Javascript functions on aspx page (notice that ComboBox1 is not referenced anywhere here)
<script language="javascript" type="text/javascript">  
        function LoadComboBox2(combo, eventarqs)  
        {     
            var combo2 = $find("<%=ComboBox2.ClientID %>");              
            combo2.set_text("-Select-");  
            var combo3 = $find("<%=ComboBox3.ClientID %>");  
            combo3.set_text("-Select-");  
              
            var item = eventarqs.get_item();  
 
            if (item.get_index() > 0)  
            {         
                combo2.requestItems(item.get_value(), false);                 
            }  
            else  
            {  
            }  
        }  
        function LoadComboBox3(combo, eventarqs)  
        {     
            var combo2 = $find("<%=ComboBox2.ClientID %>");              
            var combo3 = $find("<%=ComboBox3.ClientID %>");  
            combo3.set_text("-Select-");  
              
            var item = eventarqs.get_item();  
 
            if (item.get_index() > 0)  
            {  
                combo3.requestItems(item.get_value(), false);  
            }  
            else  
            {  
            }  
        }  
    </script> 

Related server-side functions
protected void ComboBox2_ItemsRequested(object o, RadComboBoxItemsRequestedEventArgs e)  
        {  
            string oldSelectedValue = ComboBox2.SelectedValue;  
 
                Database db = DatabaseFactory.CreateDatabase();  
                DbCommand commanddb.GetStoredProcCommand("StoredProcedure");  
 
           db.AddInParameter(command, "ParamName", DbType.String, e.Text.Trim());  
 
                ComboBox2.DataTextField = "FieldName";  
                ComboBox2.DataValueField = "MSA";  
                using (DbDataReader reader = (DbDataReader)db.ExecuteReader(command))  
                {  
                    ComboBox2.DataSource = reader;  
                    ComboBox2.DataBind();  
                }  
 
                foreach (RadComboBoxItem item in ComboBox2.Items)  
                {  
                    itemitem.ToolTip = item.Text.Trim();  
                }  
                ComboBox2.Items.Insert(0, new RadComboBoxItem("-Select-"));  
 
                RadComboBoxItem olditem = ComboBox2.FindItemByValue(oldSelectedValue);  
 
                if (olditem != null)  
                {  
                    olditem.Selected = true;  
                }  
             
        }  
 
        protected void ComboBox3_ItemsRequested(object o, RadComboBoxItemsRequestedEventArgs e)  
        {  
            string oldSelectedValue = ComboBox3.SelectedValue;  
 
                Database db = DatabaseFactory.CreateDatabase();  
                DbCommand commanddb.GetStoredProcCommand("StoredProcedure");  
 
         db.AddInParameter(command, "ParamName", DbType.String, e.Text.Trim());  
 
                ComboBox3.DataTextField = "FieldName";  
                ComboBox3.DataValueField = "FieldName";  
 
                using (DbDataReader reader = (DbDataReader)db.ExecuteReader(command))  
                {  
                    ComboBox3.DataSource = reader;  
                    ComboBox3.DataBind();  
                }  
 
                foreach (RadComboBoxItem item in ComboBox3.Items)  
                {  
                    itemitem.ToolTip = item.Text.Trim();  
                }  
                ComboBox3.Items.Insert(0, new RadComboBoxItem("-Select-"));  
 
                RadComboBoxItem olditem = ComboBox3.FindItemByValue(oldSelectedValue);  
 
                if (olditem != null)  
                {  
                    olditem.Selected = true;  
                }  
        } 

Essentially what I'd like to do is modify ComboBox3_ItemsRequested and just add another parameter to send to the stored procedure.  The parameter would get its value from ComboBox1.  Then I'd have one combobox being filled by receiving two parameters from two other comboboxes.  Does anyone have an example of how to do this?

Thanks,

Eric Skaggs
Eric Skaggs
Top achievements
Rank 2
 answered on 19 Feb 2009
1 answer
104 views
Hello,

I'm using RadEditor inside a RadToolTip set as Modal and facing a problem with IE. Specifically, it doesn't display the bottom toolbar (Design, HTML, Preview...). Besides, it looks like the borders of the content area are not well shaped.
No problems with FF and Safari where everything works alltight.
Do you have any suggestion?

Thank you

Paolo
Tsvetie
Telerik team
 answered on 19 Feb 2009
3 answers
210 views
Get the message "Property 'Telerik.Web.UI.RadWindowBase.Behavior' is obsolete" when using the Behavior property in a RadWindow.

What should we be using instead?

Thanks for your time!
Georgi Tunev
Telerik team
 answered on 19 Feb 2009
1 answer
64 views
We are having a peculiar problem. If a node is expanded and there are no children nodes for that node and you hover the mouse on that node, the node image changes to a closed node image. I have defined the hoveredimageurl using set_hoveredImageUrl method but that did not fix the issue. May be it is a CSS issue. I am not sure.

I will appreciate any help to resolve this issue.

Thanks
Som

Simon
Telerik team
 answered on 19 Feb 2009
4 answers
200 views
Dear community,

We would like to create a timesheet page using the grid. The grid would have 5 columns where people can enter information, and by default also have 5 rows.

If needed people should have to be able to click 'Add' to add a new row where they can enter new information.

The problem is that with standard controls (like DGV, Table) it's possible to perform a Rows.Add(). Am I mistaken or is the RadGrid databound only?

Is it possible to add rows in code without datasource? (like grid.Rows.Add())

Regards
Boone
Top achievements
Rank 2
 answered on 19 Feb 2009
1 answer
154 views
I cannot find anyting about RadGrid Localization. Is there a resouce file (RESX) for RadGrid? If not, how can i create and bind the Resouce file to a RadGrid control?

Thanks...
Daniel
Telerik team
 answered on 19 Feb 2009
1 answer
149 views
Hello i have a javascript ads link that need to display with radticker
the javacode will get html code from this line

document.write()

Since Radticker do not encode html how for me to get this solve?

Since i have to get text ads from javascript

Georgi Tunev
Telerik team
 answered on 19 Feb 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?