Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
139 views
Hello everyone!

just tried to display in RadSlider tooltip with image. 

with this codes it is ok but displaying 2 image side by side. 
div.innerHTML = "<img src='images/" + slider.get_selectedItems()[0].get_value() + ".gif' width='50' height='64'> <img src='images/"  + slider.get_selectedItems()[1].get_value() + ".gif' width='50' height='64' >";

with this code displaying image good for every step but when i sliding right handle it displaying only  first image 
div.innerHTML = "<img src='images/" + slider.get_selectedItems()[0].get_value() + ".gif' width='50' height='64'> <img src='images/"  + slider.get_selectedItems()[1].get_value() + ".gif' width='50' height='64' >";
        else
 
            div.innerHTML = "<img src='images/" + slider.get_selectedItems()[1].get_value() + ".gif' width='50' height='64'> ";


so target is
when i sliding right handle tooltip displaying right image.
any help?
Regards


Slav
Telerik team
 answered on 09 Jan 2012
1 answer
98 views
Hi
I have a treeview which bind to a Datatable  which is code in the follow
private void fillContractItem()
  
{
  
trvContractItem.DataFieldID = "iNumber";
  
trvContractItem.DataFieldParentID = "iParentNumber";
trvContractItem.DataTextField = "strName";
trvContractItem.DataValueField = "iNumber";
 trvContractItem.DataSource = objContractItem.SelectAll();
trvContractItem.DataBind();
  
}


I want node sort by a filed(name filed is orderfiled in in datatable
how i can move  nodes to up or down in a level  then save order nodes in orderfiled and load nodes by orderfiled and show to users
thanks 
Plamen
Telerik team
 answered on 09 Jan 2012
1 answer
96 views
Im having a problem styling the first level (0) the same as the rest of the levels.
It seems to be the class of the first ul is rsmLevel instead of rsmNodeLines which the other levels has.

Im trying to create a single vertical tree (kind of like a treeview) where all the levels have nodelines, but like I said, the first level looks weird, but all the other levels are fine.

Any suggestions?
Kate
Telerik team
 answered on 09 Jan 2012
2 answers
125 views
I have a form with a RadGrid which is data bound to a DataTable as  the page is loaded server side.  I have defined my grid as :-

<telerik:RadGrid ID="gridParts" runat="server" AllowSorting="True" CellSpacing="0" Height="690px" OnSelectedIndexChanged="gridParts_SelectedIndexChanged" AllowMultiRowSelection="False">
<ClientSettings>
<Selecting AllowRowSelect="True" />
</ClientSettings>
<MasterTableView AutoGenerateColumns="true" TableLayout="Fixed" DataKeyNames="PartNumber" AllowCustomSorting="false" AllowMultiColumnSorting="false" AllowNaturalSort="false" Alloo>
</MasterTableView>
<ClientSettings Selecting-AllowRowSelect="true" EnablePostBackOnRowClick="true">
<Resizing AllowColumnResize="true" ResizeGridOnColumnResize="false" AllowResizeToFit="true" ClipCellContentOnResize="true" EnableRealTimeResize="true" />
<Scrolling AllowScroll="True" UseStaticHeaders="True" SaveScrollPosition="True" />
</ClientSettings>
</telerik:RadGrid>

From the documentation this should allow simple sorting to work.  I only have 2 columns in the grid which are auto-generated.  My problem is that nothing appears to happen when I click the column header to sort the items.  To I need to add anything else just to implement simple ascending/descending sorting?
Shinu
Top achievements
Rank 2
 answered on 09 Jan 2012
1 answer
64 views
Hi,
I've experienced odd behavior with the RadTreeView when i got 3 levels of nodes.. first 2 leves are normal checkable nodes and the 3. level is uncheckable nodes for info etc.
When i check any of the nodes on the 2. level, the parent node is checked even though it should be marked as undetermined.. first bug. When i uncheck the node i just checked, the parent node still remain checked.

Markup:
<telerik:RadTreeView ID="RadTreeView1" runat="server" ExpandAnimation-Type="None"
CheckBoxes="true" TriStateCheckBoxes="true">
</telerik:RadTreeView>


Code:
   protected void Page_Load(object sender, EventArgs e)
        {
            RadTreeView1.Nodes.Clear();
            RadTreeNode node = null;
 
            node = new RadTreeNode("AAA", "aaa");
            RadTreeView1.Nodes.Add(node);
            AddNodes(node);
        }
 
        private void AddNodes(RadTreeNode parent)
        {
            RadTreeNode node = null;
 
            node = new RadTreeNode("111", parent.Value + "_111");
            AddInfoNodes(node);
            parent.Nodes.Add(node);
 
            node = new RadTreeNode("222", parent.Value + "_222");
            AddInfoNodes(node);
            parent.Nodes.Add(node);
        }
 
        private void AddInfoNodes(RadTreeNode parent)
        {
            RadTreeNode node = new RadTreeNode("foo", parent.Value + "_bar");
            node.Checkable = false; //Without this line everything works like it should....
            parent.Nodes.Add(node);
        }

Regards
Nikolaj Strauss
GROUP Live
Bozhidar
Telerik team
 answered on 09 Jan 2012
5 answers
1.3K+ views
Hello Team,

I want to find telerik radnumerikbox in javascript on pageload and set the focus. I can't able to find the Id of element in javascript .

<script type="text/javascript" >
       function pageLoad(sender, args) {
           try {
               $find("<%# txtDay.ClientID %>").focus();
           }
           catch (e) {
           }
       }
</script>

For this I did the above code but its not working.

Please help me.

 
Plamen
Telerik team
 answered on 09 Jan 2012
3 answers
118 views
Hi,

We are for several reasons using the editor in Div-mode. But now we can't get the StripFormattingOptions=ConvertWordLists to work when using Firefox 4 (it does nothing). It seems to work OK in IE9. We are also using the StripFormattingOptions=MSWord and that doesn't seems to work either...

In Iframe mode this works as expected.

Regards
Caesar
Rumen
Telerik team
 answered on 09 Jan 2012
4 answers
121 views
One of my web page i am using RadPanelbar my problem is if the content exceeds the height of RadPanelItem's ContentTemplate
ScrollBar Doesn't appear
i set
ExpandMode="FullExpandedItem"
but still the scrollbar not appearing
iam using 2011 Q2 control
is this problem fixed in Q3
or how to solve this problem
Kate
Telerik team
 answered on 09 Jan 2012
3 answers
104 views
I'm not sure what the cause is, I've set the maxRequestLength and maxAllowedContentLength well above 100MB.

I have a method that hides the RadUpload control once the file is successfully uploaded.  However if I upload a file over 1 MB the file is not uploaded and the control is not hidden.
Kate
Telerik team
 answered on 09 Jan 2012
3 answers
115 views
Hello Every one !
i have two reports , 1- contracts list and 2- contract detail , now i want that if i click on the contract id the 2nd report contract detail will open , i used action property of the column contract id , but i cant able to get the value of that clicked cell , i want contract id so that i can pass it as a parameter to my 2nd report , it is very urgent , please give me solution or guide to solve this issue , Thanks in advance , and sorry for my bad english :(

Best Regards

M.Waqas Aslam
Peter
Telerik team
 answered on 09 Jan 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?