Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
73 views
The Filter Button does not work I cannot fathom why :(

The format code block doesn't seem to work with firefox but

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>

<!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></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:SqlDataSource ID="SqlDataSource1" runat="server"
            ConnectionString="<%$ ConnectionStrings:Marty-rls7ConnectionString %>"  
            SelectCommand="SELECT [WO_SD_NO_P], [WO_SD_DE], [WO_SD_EQ_NO] FROM [SA_WO_SD_Data] WHERE ([SI_SITE] = @SI_SITE)" EnableCaching="true" CacheDuration="Infinite">
            
            <SelectParameters>
                <asp:Parameter DefaultValue="SiteA" Name="SI_SITE" Type="String"  />
            </SelectParameters>
        </asp:SqlDataSource>
        <Telerik:RadScriptManager ID="scriptmanager" runat="server" />
        <Telerik:RadAjaxManager ID="ajaxmanager" runat="server" />
        <Telerik:RadGrid ID="RegisterGrid" runat="server" DataSourceID="SqlDataSource1"
         AllowFilteringByColumn="true" AllowSorting="true" GroupingEnabled="true" ShowGroupPanel="true">            
            <ClientSettings AllowColumnsReorder="true" AllowDragToGroup="true"/>
        </Telerik:RadGrid>
    </div>
    </form>
</body>
</html>

The filter button doesn't work :(

Can anyone help ?

In firefox the menu appears to show but it is empty.

Mart
Andrew
Top achievements
Rank 1
 answered on 20 Jan 2012
1 answer
57 views
Hi all,
   is it possible to slide in both directions when open the window?

Thanks
  Francesco
Marin Bratanov
Telerik team
 answered on 20 Jan 2012
6 answers
219 views
hi,
 my name is manpreet and i would like to know that how i can configure my radprogress area to show only the progress of the current  file being uploaded alongwith its speed . I do not want the progress bar which is at the bottom. it would be more clear from the attachment below.

I have tried the property window but even after deselecting the files count bar , i still get it when i run the project. i have even refreshed my browser a lot of times, even switched to chrome, mozilla and IE9 but nothing seem to work.   i have even tried clearing my browser cache but everything is in vain. help me out !

to be precise i just need one bar and that must show : current file being uploaded, %age of the current file uploaded, speed of transfer, time estimated

Regards, 
Manpreet S
Bozhidar
Telerik team
 answered on 20 Jan 2012
1 answer
68 views
I have the following scenario


I use "draganddrop" to mmove documents from 1 folder to another.
But I have the following problem:


IDocuments has not contains documents.. Only folder nodes can has contains.

How I can do this?
Documents no NOT allow add chil documents...

There are any property to this?? ALLOWChilda= false??

thanks
Plamen
Telerik team
 answered on 20 Jan 2012
3 answers
162 views
Hello,

I have a radWindow being launched that runs a c# script that sends x number of http post requests to an external server using a WebClient control. Each http post contains instructions to send a single text message. I haven't experienced any time out problems as yet (so far I've only sent 80, which took approximately 40 seconds after which the ajax circle disappears and the results are displayed), however, with larger numbers I think that timeout could be an issue.

Does radWindow use the timeout value as set in the application's web.config, or can you set it elsewhere?

Ideally, is there a way to make it persist until the code has finished executing?

Thanks,

John.
  
Marin Bratanov
Telerik team
 answered on 20 Jan 2012
5 answers
95 views
Hi,

I have an asp.net application which uses the web part framework to allow users to customise their interface.  One of the features of this is a catalog of available web parts, one is provided by default, but it can be overriden if you wish to change the layout, etc.

override void RenderCatalogPart(HtmlTextWriter writer, CatalogPart catalogPart)

That, as far as I can tell, is the only way to do it.  At the moment I'm creating a panel with all the necessary elements in it, and using the panel's RenderControl method to output it to the htmlwriter.  So far, so good.  The problem occurs when I try to add a radtooltip to my panel, using the same RenderControl method, and I get the following runtime error:

Page cannot be null. Please ensure that this operation is being performed in the context of an ASP.NET request.

I can see why this might be a problem, since the tooltip presumably uses javascript and has to write it to the page - but the RenderCatalogPart method has no knowledge of which page it's going to be outputting to.  Is there any way around this or am I going to have to come up with an alternative?

Thanks,
Mathew
Mathew
Top achievements
Rank 1
 answered on 20 Jan 2012
1 answer
38 views

 

My web site pages are centered in the browser. When the grid has data width that is larger than the grid width
and I shrink the browsers width, the grid and the other controls, do not go all the way to the left, there's a blank space that will
change width when the data width in the grid changes in the space on the left side of the browser will shrinks or grow. How do I get the grid and the control to go all the way to the left not matter what the data width is.

John
Andrey
Telerik team
 answered on 20 Jan 2012
4 answers
103 views
Hi there, I'm having trouble getting Tri-State checkboxes to work as I assume they should. My TreeView is data bound on the server side to a collection of objects with the following code:
tree.DataTextField = "Name"
tree.DataValueField = "NodeID"
tree.DataFieldID = "NodeID"
tree.DataFieldParentID = "ParentNodeID"
tree.DataSource = nodes
tree.DataBind()

The TreeView itself is declared thusly:
<tel:RadTreeView runat="server" ID="trvHierarchy"  CheckBoxes="true" CheckChildNodes="false" OnNodeDataBound="TreeNodeDataBound" OnNodeCheck="HierarchyTreeNodeCheck"></tel:RadTreeView>
You'll notice that Tri-State Checkboxes is absent from that declaration, I'll get to that shortly...
The NodeDataBound event is where I am setting the checked property of various nodes, the decision of wheather to check a node or not is based on other data that  is contained in a member variable of the UserControl that this Tree lives in.
Protected Sub TreeNodeDataBound(ByVal sender As Object, ByVal args As RadTreeNodeEventArgs)
       If Not args.Node Is Nothing Then
           Dim check As Boolean = False
           For Each assignedNode As KeyValuePair(Of Integer, String) In _assignments
               If assignedNode.Key = CType(args.Node.Value, Integer) Then
                   check = True               
               End If
           Next
           If check Then
               args.Node.Checked = True
           Else
               args.Node.Checked = False
           End If
 
 
       End If
   End Sub
Now, when I leave out the Tri-State Checkboxes from the declaration, the code behaves exactly as I would expect, the nodes that are supposed to be checked are and the ones that are not aren't. What I would prefer however,  is to enable the tri-state behavior with the desired result being that the parent nodes of any checked noes will show as "indeterminate" if not all the children are checked and checked if they are so my users will have a cue to where the checked noes are without expanding the entire tree, My problem is that when I set Tri-state checkboes to true, the code executes correctly and sets the checked property of the desired nodes, but in the browser absolutely no nodes are checked or indeterminate. 

I'm using version 2010.1.309.20 of the Telerik.Web.UI.dll

Thank You,

Al Irvine
Plamen
Telerik team
 answered on 20 Jan 2012
1 answer
217 views
I am having a RadTreeView that is binded to a LINQ datasource. Now my treeview gets loaded with all values I want. But I want to show all these items to be appearing under a root node: "ROOT" that I can set programatically or statically.

How to do this?

Also if I have a column called "tooltip" in my LINQ datasource whose value I want to show as a tool-tip to the nodes of the tree-view than how to achieve this?

Plamen
Telerik team
 answered on 20 Jan 2012
1 answer
92 views
Ola estou com o seguinte problema ao instalar o asp.net ajax ele deixa por padrão um tema  mais quando clico no drop dow para mudar o tema ele não carrega os temas  do radgrid.

Pode me ajudar ?
Pheonix
Top achievements
Rank 1
 answered on 20 Jan 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?