Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
115 views
Hi,
We have extended your radInput and added some new properties. We would like to add these properties to the smart tag, but I can't seem to find the designer/actionlist class. Is this even doable? If this is doable, could I have a small example on how to do it?
staron
Top achievements
Rank 1
 answered on 12 Dec 2008
3 answers
604 views
Dear All!

I have a RadGrid. In it I have more different dropdown type columns. I want to do to bind them to different datasources in Edit state.
I have custom collections: List<One>,List<Two>,List<Three>

Can I bind them to dropdowns one-by-one in design time? like here:
<
telerik:GridDropDownColumn DataField="OrderID" ListTextField="ShipCountry" ListValueField="OrderID"  DataSourceID="SqlDataSource4" HeaderText="GridDropDownColumn <br /> with RadComboBox" DropDownControlType="RadComboBox" /> - just with my custom Collections.


How can I bind collections to dropdowns?

thanks
alsi
Princy
Top achievements
Rank 2
 answered on 12 Dec 2008
4 answers
915 views
Hi,
I'm new to Telerik controls and I'm quite enjoying it!

Right now, I'm facing a problem which I really hope someone could help me solve :)

I'm trying to use javascript to stop the postback when selecting an item in a RadComboBox whose AutoPostBack is true..., while still allowing the selected item in the combo box to change...

So from what I understood in the documentation, I can stop it using "return false" in ClientSelectedIndexChanging, but that is not working...

I wrote a test page to check whether the problem was specific to my application, but here also it does not work...

What am I doing wrong?

Thanking you before hand,
Cheers,
Â¥@$#.

<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Default.aspx.cs" Inherits="_Default" %> 
 
<%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %> 
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
 
<html xmlns="http://www.w3.org/1999/xhtml"
<head runat="server"
    <title>Test Page</title> 
    <script type="text/javascript"
        function check(item) 
        { 
            alert('test'); 
            return false; 
        } 
    </script> 
</head> 
<body> 
    <form id="form1" runat="server"
    <div> 
        <asp:ScriptManager ID="ScriptManager1" runat="server"
        </asp:ScriptManager> 
        <telerik:RadComboBox ID="RadComboBox1" Runat="server"  
            onclientselectedindexchanging="check"  
            onselectedindexchanged="RadComboBox1_SelectedIndexChanged1"  
            AutoPostBack="True" > 
            <Items> 
                <telerik:RadComboBoxItem runat="server" Text="RadComboBoxItem1" Value="1" /> 
                <telerik:RadComboBoxItem runat="server" Text="RadComboBoxItem2" Value="2" /> 
                <telerik:RadComboBoxItem runat="server" Text="RadComboBoxItem3" Value="3" /> 
                <telerik:RadComboBoxItem runat="server" Text="RadComboBoxItem4" Value="4" /> 
                <telerik:RadComboBoxItem runat="server" Text="RadComboBoxItem5" Value="5" /> 
            </Items> 
            <CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation> 
        </telerik:RadComboBox> 
        <br /> 
        <br /> 
        <br /> 
     
    </div> 
    <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox> 
    </form> 
</body> 
</html> 
 

Simon
Telerik team
 answered on 12 Dec 2008
3 answers
508 views
Hi,
I'm trying to get a hold of the rowindex in javascript. I'm currently getting it by using code found in another post in this forum. However; when the grid has lots of rows, the code becomes very slow and sometimes even freezes the browser.
My current code:
function RowClick(sender, eventArgs) {  
    try {  
  
        sender.get_masterTableView().get_dataItems();  
        var selectedItem = sender.get_masterTableView().get_selectedItems()[0];  
        var index = selectedItem._itemIndexHierarchical;  
... 
Is there a better, more optimalized way to do this?
Daniel
Telerik team
 answered on 12 Dec 2008
4 answers
163 views
Hello there,

I want to use a customized skin of TabStrip in my application. My desired skin is somewhere close to Telerik skin except for size of tabs and their state dependant colors. For this I need to modify (or build new) images contained in the respective skin folder. I have gone through this thread

http://www.telerik.com/community/forums/aspnet-ajax/tabstrip/how-to-skin-tabstripstates-gif-file.aspx

I have consulted my Graphic Designer on this issue. Modifying these sprite images is a headache as source files of these images are not available. Does anyone know some kind of tool or methodology which can be useful in this regard?

On the other hand if we build these images from scratch, I guess we would run into problems as the embedded javascript will be picking the images through their (x,y) coordinates.

Thanking in anticipation for your help.
Veselin Vasilev
Telerik team
 answered on 12 Dec 2008
3 answers
122 views
Databound combobox, with autopostback set to true

When I change the value, the serverside event fires (places the selectedvalue into a textbox on the page)...then the combobox resets its value back to index 0 sometime after Pre-render

Any idea why?  There's really no code behind except for the event, and the datasource is in the markup
Veselin Vasilev
Telerik team
 answered on 12 Dec 2008
3 answers
135 views
The vertical scrollbar displays in the Insert Symbol dropdown menu.  It hides the right column of symbols.  There are only 20 symbols.  The scrollbar is not necessary.  I don't know if this is caused by our CSS or some known issue.
Stanimir
Telerik team
 answered on 12 Dec 2008
1 answer
69 views
Hi

I have a radGrid with a template column that contains a RadSlider. When i try to add a row in my grid i always receive an error message about the conversion from DbNull to Integer about the radSlider value !! How i can do to fix this, i think i already have read something about that but i cant find the post.

Thanks for yout help.
Yavor
Telerik team
 answered on 12 Dec 2008
1 answer
93 views
Hi!

I am using a splitter with two panes.  The top pane contains my own asp controls, the bottom is set to load an external URL.  For the most part this works as expected but some sites "break out of iFrames".  I really need to stop this from happening and have found resources online on how to stop this behavior for normal iFrames like here (http://kuza55.blogspot.com/2007/03/partially-stopping-sites-breaking-out.html).  I would appreciate any help at all on this as I am stumped!!!

Justin
Tsvetie
Telerik team
 answered on 12 Dec 2008
6 answers
177 views
Hi,
In my grid(s) the GridDropDownColumn is not shown in the available columns list. Is this by design or am I missing something?
staron
Top achievements
Rank 1
 answered on 12 Dec 2008
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?