Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
60 views
I just added the Binary image column to my grid and all items are placed at the bottom of the row, I tried setting the Item-VerticalAlign to top but it didn't work. I am attaching a screen shot so you can see what I mean.

Thanks
Daniel
Telerik team
 answered on 22 Feb 2011
1 answer
128 views
Hello,

I am able to successfully modify the CSS style for the purpose of applying a background color to any weekday but not to a weekend.

Protected Sub RadScheduler1_TimeSlotCreated(ByVal sender As Object, ByVal e As Telerik.Web.UI.TimeSlotCreatedEventArgs) Handles RadScheduler1.TimeSlotCreated
      If (DateTime.Compare(e.TimeSlot.Start.[Date], RadScheduler1.SelectedDate) = 0) Then
          e.TimeSlot.CssClass = "SelectedDate"
      End If
      If e.TimeSlot.Start.[Date].DayOfWeek = DayOfWeek.Saturday Then
          e.TimeSlot.CssClass = "SelectedDate"
      End If
End Sub

The SelectedDate receives the CSS class "SelectedDate" unless it is a weekend. Furthermore, I cannot simply apply the CSS class to the weekend. I am using x. 2010.3.1317.40.

Thanks!
Norman
Top achievements
Rank 1
 answered on 22 Feb 2011
1 answer
129 views
 
I have come across an interesting situation and was hoping you could help me out.
 
I have a rad grid with a command item in the top which allows "insert a new record". In the vb.net code, I do a response.Redirect to the page where they can create a new record. This worked fine. However, after switching to vs2010 and .net 40 (I am using telerik 2010.1.309.40), this insert new record functionality does not redirect. I get the ajax circle for a few seconds on my grid, and then the circle disappears, leaving the grid as before, without my being redirected. When I drop a simple button on the form and do the redirect from there, it works fine.
 
Any idea what is going on?
 
Thanks
 
Daniel
Daniel
Top achievements
Rank 1
 answered on 22 Feb 2011
1 answer
115 views
Hi,

My page contains 2 treeview controls.
in second treeview control i dont want to show plus minus expand images for that i found following in forum

 

div.RadTreeView .rtPlus, div.RadTreeView .rtMinus {
display: none;

 

 

}

but when i apply this css it is appying to both the treeview controls which i dont want, i want  to apply this css to second treeview control.

Thanks

Kate
Telerik team
 answered on 22 Feb 2011
1 answer
249 views
I was having a hard time creating a RadMenu that allows you to pick an item/node, collapses/closes all items, and then lists the selected item on the radmenu after it is collapsed.  The Telerik demos stay expanded after you click an item.  The trick is to set Postback="true" on the items that you want to collapse the RadMenu. When you click on the item, it renames the RadMenu main item to the item you clicked on the server side.  So do I get Telerik some points??? : )

                <telerik:RadMenu ID="RadMenu1" runat="server" ClickToOpen="true" onitemclick="RadMenu1_ItemClick"  >
                    <Items>
                        <telerik:RadMenuItem Text="Main" PostBack="false" >
                            <Items>
                                <telerik:RadMenuItem Text="Item 1" PostBack="false">
                                    <Items>
                                        <telerik:RadMenuItem  Text="Sub Item 1" PostBack="true"  ></telerik:RadMenuItem>
                                    </Items>
                                </telerik:RadMenuItem>
                            </Items>
                        </telerik:RadMenuItem>
                    </Items>
                </telerik:RadMenu>

(server-side code)
    protected void RadMenu1_ItemClick (object sender, RadMenuEventArgs e)
    {
        RadMenu1.Items[0].Text = e.Item.Text;
    }
Dimitar Terziev
Telerik team
 answered on 22 Feb 2011
0 answers
94 views
I have two tabs on a page; the tabs are being created with JavaScript.  The first tab displays a repeater of events, the second tab is suppose to show the month view with the events using the RadScheduler.  When you first go to the page the first tab loads fine then you click on the tab to show the RadScheduler and nothing appears - if you refresh the browser the RadScheduler appears.  Is there some kind of page load event I should add or should I preload something?  This appears to be happening in these browsers IE, Firefox and Chrome (the only ones I tested with).

Any help or advice is greatly appreciated.

Thanks!
Nicole
Nicole
Top achievements
Rank 1
 asked on 22 Feb 2011
4 answers
496 views
Hi Team,

       Now, i'm old project control are replacing with telerik control. I have face with this problem. I call a rad window, after that how can i call a code behind function. Actual i want to call Rad Menu control server side function and link button. Kindly, please advice to me, it is need urgent.

Best Regards,
ALEX
Top achievements
Rank 1
 answered on 22 Feb 2011
3 answers
208 views
Hi ,
I would like to write some custom client code when radgrid columns are resized on the client. But there seems to be some event bubbling after my custom code works which renders my changes useless. Is there some way where I can specify cancelBubble = true for this onColumnResizing event?

Any help would be appreciated.
Kind Regards,
Paul

Vasil
Telerik team
 answered on 22 Feb 2011
0 answers
147 views
Hi,
Im using this RadTreeview when i click on the expand button to view the child nodes the font of the child nodes are increasing for each node.
Ex:
Root(xx-small)
- Child1(x-small)
  -Child1-1(Small)
   - child1-1-1(Medium)
I want to display everything in xx-small font.

<div style="font-size: xx-small">
                  <telerik:RadTreeView ID="rtvTreeView" CheckBoxes="true" runat="server"
                      Font-Size="XX-Small" OnNodeExpand="rtvTreeView_NodeExpand"
                      EnableDragAndDrop="True" EnableDragAndDropBetweenNodes="True"
                      OnNodeDrop="rtvTreeView_NodeDrop">
                      <CollapseAnimation Type="InQuint" Duration="100"></CollapseAnimation>
                      <ExpandAnimation Duration="100" Type="None"></ExpandAnimation>
                  </telerik:RadTreeView>
              </div>

 
win
Top achievements
Rank 1
 asked on 22 Feb 2011
1 answer
29 views
Hi,

I'm looking for a sample to edit title bar as described here Dock / Edit Title just for programmatically created Docks. How can I achieve this?

Thanks
Pero
Telerik team
 answered on 22 Feb 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?