Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
94 views
Hello,
In template column InstantiateIn method I add some control and assign a handler for its DataBinding event. Next, I fire grid edit and update commands from client side. On server side, when ItemCommand event fires, I try to set e.Canceled to false depending on some conditions. But right after that all editor controls become empty. Their DataBind event never fired. What can I do about that?
Thank you.
Dmitry
Top achievements
Rank 1
 answered on 16 Sep 2011
3 answers
142 views
Dear Sir,

i have taken a Rad DatetimePicker Control. When i set a date client side using javascript, it does not give error but selected date is not showing in control. I have used update panels.
javascript code is as follows:

$find(

'<%= rdCallbackDate.ClientID %>').set_minDate(callbackDate);

 

 

$find('<%= rdCallbackDate.ClientID %>').set_selectedDate(callbackDate);

 

$find(

'<%= rdCallbackDate.ClientID %>').get_dateInput()._initialValue = callbackDate;

and control markup is as follows:

 

<

asp:UpdatePanel ID="up" runat="server">

 

 

<ContentTemplate>

 

<telerik:RadDateTimePicker ID="rdCallbackDate" runat="server" Skin="Hay" DateInput-DateFormat="dd MMM yyyy HH:mm"

 

 

 

 

Width="220px" AutoPostBackControl="Calendar">

 

 

 

 

</telerik:RadDateTimePicker>

 

 

 

 

 

</ContentTemplate>

 

</

asp:UpdatePanel>

 

 

Kindly resolve my problem..

Thanks & regards
Briendra Pandey    

Daniel
Telerik team
 answered on 16 Sep 2011
3 answers
76 views
Dear Telerik Team,

we would like to ask you for the difference by these two known approaches: (in order to append nested items)

Code Snippet #1:

<telerik:RadPanelBar runat="server" ID="RadPanelBar1" Width="100%">

    <Items>

        <telerik:RadPanelItem Expanded="True" Text="Example1" Selected="true">

            <Items>

                <telerik:RadPanelItem Value="" runat="server">

                    <ItemTemplate>


Code Snippet #2:

<telerik:RadPanelBar runat="server" ID="RadPanelBar1" Width="100%" Height="100%">

<Items>

                  <telerik:RadPanelItem Text=" Example2">

                  <ContentTemplate>


Both of mentioned constructions work fine, and their final visual results seem be the same and desired, as well. We've determined that construction shown on the first code snippet is mostly used on your official telerik examples websites. However, we found the second approach in addition.

Can you provide us some advice or evaluation about advantages/disadvantages of mentioned approaches (which of them is better and why),   please?
Thank you in advance.

Regards,
SCT

SCT
Top achievements
Rank 1
 answered on 16 Sep 2011
1 answer
151 views
Hi,

I am trying to use the controls on a touchscreen page.

I would like to be able to change the width of the scrollbar for the radcombobox. It appears to be a DIV (rendered), but how do I access the properties to amend the width, is it possible?

Cheers

Tox
Kalina
Telerik team
 answered on 16 Sep 2011
4 answers
285 views
We have a grid with keyboard navigation turned on and a GridClientSelectcolumn with a check box for selecting. When we use keyboard navigation the focus of the checkbox does not move with the selected row. Therefore when I press the space bar the row that has the checkbox with the focus is selected and the grid scrolls back to that row. Is this expected behavior. I would think the focus would be cleared or at the very least move with the selected row.

Don
Pavlina
Telerik team
 answered on 16 Sep 2011
7 answers
266 views
Hi,

I'm trying to customize a rad grid and everything is going fine expected that I can't apply styles to alternate row for hover or selected.
I'm using a hover row style and a selected row style and they both work until you hover over the alt row or try to selected the alt row,
nothing happens. I attached a sample image to give you an example.
.rgRow,.rgRow td
      {
          height:25px;
      }
      .rgAltRow,.rgAltRow td
      {
          height:25px !important ;
          background-color: #F0F6FD;
          border:none!important;
          background-image : none!important;
      }
      .rgSelectedRow,.rgSelectedRowtd
      {
          background-color: yellow !important;
          background-image : none!important;
          color:Black !important;
      }
      .rgHoveredRow
      {
          background-color: red !important;
           background-image : none!important;
      }
Thanks,
Princy
Top achievements
Rank 2
 answered on 16 Sep 2011
3 answers
162 views
Hi,

I want to chance CurrentPageText text property by using c# code. i am using

    <telerik:RadDataPager ID="RadDataPager3" runat="server" PagedControlID="RadListView1"
                                                PageSize="9" Skin="">
                                                <Fields>
                                                    <telerik:RadDataPagerGoToPageField CurrentPageText="Page:"
                                                        TotalPageText="of" SubmitButtonText="Go" TextBoxWidth="15" />
                                                </Fields>
                                            </telerik:RadDataPager>

code and now i want to change text of CurrentPageText, TotalPageText and SubmitButtonText by using C# code.

It can be feasible or not?

Thanks...
Tsvetina
Telerik team
 answered on 16 Sep 2011
1 answer
81 views
Hi Team Telerik,

Recently, I used a progress area for my page. I have a asp.net file upload control and have tied it up with a rad progress area.

There is a server side validation on my same page.

On submit, the server side validation needs to occur first and then the rad progress area needs to appear if the validation is Valid.

But instead, the progress area popup,it loads the file in the buffer and then it executes the server validation.

How can I resovle this?

Requesting you to reply ASAP, as we are due to go to production in a day or two.

Regards,
Siddesh Kapadi
Peter Filipov
Telerik team
 answered on 16 Sep 2011
2 answers
117 views
Hi

We have a RadTreeView registered as below:

<radT:RadTreeView ID="cRadTreeView" EnableViewState="true" style="Z-INDEX:999" Runat="server" BeforeClientClick="BeforeClickHandler"
	Checkboxes="true" DragAndDrop="true"></radT:RadTreeView>


I've been trying to put a fix in place to stop the tree refreshing back to the top after a Node has expanded. I am registering the NodeExpand event in the OnInit of the page and that event carries out the following code, is there a way for the tree to switch focus to the node that was previously expanded?


Guid expandedNodeID = new Guid(e.NodeClicked.Value);
			this.DataSource.ExpandNode(expandedNodeID);
			RadTreeNode node = this.GetTree(this.DataSource[expandedNodeID]);
			if(node.Nodes.Count > 0)
			{
				foreach(RadTreeNode child in node.Nodes)
				{
					e.NodeClicked.AddNode(child);
				}
			}
			e.NodeClicked.ExpandMode = ExpandMode.ClientSide;
Plamen
Telerik team
 answered on 16 Sep 2011
2 answers
79 views
Hi, in one of our site, the GIF image inside a RadAjaxLoadingPanel is stucked/stop animating when doing a long request.
It happens only in IE. What could be the reason?


Maria Ilieva
Telerik team
 answered on 16 Sep 2011
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?