Telerik Forums
UI for ASP.NET AJAX Forum
6 answers
202 views
Hi I need a hand in setting up a timeline view.
Basically what I need is a full week displayed, at hourly intervals.  I have this setup correctly and is displaying fine, but what I want to do is limit the slots for each day, to display from 8am to 6pm for each day.  If I put in starttime as 8:00 then the first day starts at 8:00, but day 2 starts at 00:00.

I have attached a screen shot of what I mean, can someone guide me on this.
Many thanks


Ivana
Telerik team
 answered on 20 Jul 2012
5 answers
189 views
I have a RadTreeView which is defined thus:

<telerik:RadTreeView ID="radTreeView" runat="server" Width="100%" EnableDragAndDrop="true" EnableDragAndDropBetweenNodes="true"

OnNodeClick="radTreeView_OnNodeClick" OnClientNodeCollapsing="OnClientNodeCollapsing"

OnNodeDrop="radTreeView_OnNodeDrop">

 

<WebServiceSettings Path="BuildTrgMP.aspx" Method="GetChildNodes" />

 

</telerik:RadTreeView>

I have a web service method which populates the tree when nodes are clicked.
The page in question accepts an id in the query string and the id represents the Value of a node in the tree which can be any node in the tree.
The idea is that when the page starts, the user is placed in the tree with the tree expanded and the node with the parameter id selected.
The problem is that there seems to be a conflict between nodes loaded client side by the webservice and nodes loaded server side in page load ie doing expands and searches for nodes server side doesn't find anything because they haven't been loaded client side.
If I code to populate the heirarchy server side in Page_Load, when the page appears, no nodes are expanded, although if I expand them, I come to my selected node. It almost as if having webservice loading conflicts with server side loading.

So to get back to the requirements:
- I have a tree which loads branches using the webservice 
- When the page loads, in Page_Load I want to be able to set a currently selected node (which can be anywhere in the tree and at any level) and I want the tree hierarchy to it to be expanded (all other paths can be collapsed)

How do I do it please ?

Thanks + regards

Graham Plowman

Plamen
Telerik team
 answered on 20 Jul 2012
3 answers
110 views
Hi
I am currently using the scheduler to display a list of users and their weekly activities, this works fine, however, ideally I would like to set a start and end time for each day ie. from 07:00 to 19:00 for each day of the week, if I set a start time of 07:00 it appears for the first day only.
Is it possible to achieve this?

Thanks for your help.

Karl.
Ivana
Telerik team
 answered on 20 Jul 2012
3 answers
106 views
I am having issue with mouse over image when using Office2007 skin.

Height of the image is not proper as height of the item.

Please find attached screenshot for the same.
Kate
Telerik team
 answered on 20 Jul 2012
4 answers
116 views
I have a problem that I am having trouble finding a solution for:

I have a web app using Windows Authentication and one of the forms has a RadComboBox control for which I want to populate by means of a WCF service call.

I've configured everything according to the tutorial instructions, and that works fine. My problem is that I need to pass the user's Windows security credentials to the service call to extract the username of the user.

When I configure the webHttpBinding to use Transport or TransportCredentialsOnly:

<webHttpBinding>
        <binding name="webHttpBindingConfiguration" 
                 maxBufferPoolSize="2147483647" 
                 maxBufferSize="2147483647" 
                 maxReceivedMessageSize="2147483647">
          <readerQuotas maxDepth="2147483647" 
                        maxStringContentLength="2147483647"
                        maxArrayLength="2147483647" 
                        maxBytesPerRead="2147483647" 
                        maxNameTableCharCount="2147483647" />
          <security mode="TransportCredentialOnly">
            <transport clientCredentialType="Windows"></transport>
          </security>
        </binding>
</webHttpBinding>

the service call fails. Fidder2 shows a Interal Server Error (500) and:

"No Proxy-Authorization Header is present."

"No Authorization Header is present."

I cannot find any guidance for using Windows Authentication for these service calls.

If it is not possible to use Windows Authentication with these calls, can I intercept the RadComboBoxContext object and add an entry with the user's username before the call is made, so I might extract it in the service method?

Your assistance is greatly appreciated.

Charlie

Genady Sergeev
Telerik team
 answered on 20 Jul 2012
3 answers
118 views
I´ve got a treelist and added a template column as below

<telerik:TreeListTemplateColumn HeaderStyle-Width="70px" 
                                HeaderText="Usuer" ItemStyle-HorizontalAlign="Center" ReadOnly="True" 
                                SortExpression="User" UniqueName="User">
                                <ItemTemplate>
                                    <asp:ImageButton ID="ImageButton1" runat="server" 
                                        CommandArgument='<%# Eval("IdUser") %>' Height="20" 
                                        ImageUrl="~/Styles/images/user.png" 
                                        OnClick="ImageButton1_Click" Width="20" />
                                </ItemTemplate>
                                <HeaderStyle Width="70px" />
                                <ItemStyle HorizontalAlign="Center" />
                            </telerik:TreeListTemplateColumn>

In the ItemDataBound event (treelist) I add the item to RadToolTipManager

ImageButton item = (ImageButton)((Telerik.Web.UI.TreeListDataItem)e.Item).FindControl("ImageButton1");
//Add the button (target) id to the tooltip manager
this.RadToolTipManager1.TargetControls.Add(item.ClientID, item.CommandArgument.ToString(), true);

MY PROBLEM IS WHEN I EXPAND A ROW TO SHOW THE CHILD ITEMS, THE TOOLTIPS DO NOT UPDATE, AND SHOWS THE INFORMATION OF THE LAST ITEM WHICH WAS IN THAT ROW.

Thanks!.
Andrey
Telerik team
 answered on 20 Jul 2012
1 answer
128 views
I have a situation similar to this.  In my case, I have a DataTable with pairs of companion rows.  When first presented to the user. every second row (the latter of the pair) needs to be hidden.  Then if the user checks a checkbox, its companion row below it will be displayed.

From the Page_PreRender event handler, I call a method that populates the DataTable. Then later in that method it is bound to the RadGrid thusly:

      radGrid.DataSourceID = null;<br>      radGrid.DataSource = dataTable;<br>      radGrid.DataBind();<br>

Also defined is an ItemDataBound event handler.  Here's the beginning of it:

    protected void radGrid_ItemDataBound(object sender, GridItemEventArgs e)<br>    {<br>      if (e.Item is GridDataItem)<br>      {<br>        GridDataItem item = (GridDataItem)e.Item;<br>

I then used assorted logic within the ItemDataBound event handler to determine whether the given row should be hidden.  I do so with this statement:
                                item.Visible = false;

The statement is definitely executed and the visibility of 'item' is definitely set to 'false'.  But yet, when the screen appears, no rows are hidden.

What am I doing wrong?

Robert

P.S. Note: Back in the method called from Page_PreRender, right after radGrid.DataBind() I added this code as a test:

        foreach (GridDataItem item in radGrid.Items)<br>        {<br>          if ((item.ItemIndex % 2) == 1)<br>            item.Visible = false;<br>        } <br>

And lo and behold, it worked!  BUT I sure would love an explanation as to why my original approach did not!





Shinu
Top achievements
Rank 2
 answered on 20 Jul 2012
3 answers
145 views
Welcome all,
I am new here being happy owner of ASP.NET product. First question which helps me start quickly working with telerik. I have in many my asp pages schema: DetailsView to insert records and then GridView to display them. What will be the most efficient telerik replacement for such combo?
Additional question What will be the fastest way to display records from db based on some search criterias.
Thanks for any tip. 
Princy
Top achievements
Rank 2
 answered on 20 Jul 2012
3 answers
129 views
I have a radeditor inside a jquery tab window, the editor is creating duplicate iframes or divs to display the content in - one below the other, but only one set of toolbars are being presented.  The app is bombing out on saving the content to db.  
The browser is IE9.  I'm using Q2 2012 controls.  Has anyone seen and been able to rectify this problem??
thanks.
Morgan
Top achievements
Rank 2
 answered on 20 Jul 2012
3 answers
220 views
Hi friends, I am trying to add a target url for the icon image, being used for child nodes.

I want something like this :

<Parent Node name and hyperLink>
|
|
|--<icon imageUrl hyperLink or TargetUrl> <childNode value caption/text/label>
|--<icon imageUrl hyperLink or TargetUrl> <childNode value caption/text/label>
|--<icon imageUrl hyperLink or TargetUrl> <childNode value caption/text/label>

I tried embed CSS, Javascript / jQuery but could not get it.

Thanks in advance for your help :-)
Princy
Top achievements
Rank 2
 answered on 20 Jul 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?