Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
706 views

I have asp.net application user all telerick control. The master page has few .ascx (controls) like header/footer...etc
I have one more (lets say ThirdControl.ascx file which I wanted to load after completion of the master page load. For better user experience (to minimize the page load time) I want to capture the event where master page load finishes it loading completely.

After I get this event (i,e page load complete) I want to load my ThirdControl.ascx asynchronously.


Are there any work around are suggestions? Please help me.

Thanks
Ramana

Maria Ilieva
Telerik team
 answered on 18 Feb 2011
1 answer
53 views
Hello, 
    I found that adding a control to page by js can not be decorated dynamically, it still was original style.Is there any client side method of RadDecorator can be used to act on the new added controls, such as refresh or redecorate or some others. Thanks.
Georgi Tunev
Telerik team
 answered on 18 Feb 2011
3 answers
159 views
Hi, our team is facing some trouble when the height of a row is bigger than the default height.

The problem seems to appear only  when the Alternating-Item of  the grid is selected or with mouse-over. (If the item has a height bigger than the default)

Here's a pic showing what i'm saying:

Row Selection:
http://i.imgur.com/4x1lz.jpg

Mouse-Over:
http://i.imgur.com/uOLZ9.jpg

As you can see there is some blank space in the bottom of the row without selection, i would appreciate a solutio, thanks.

I'm running under:

Visual Studio 2010.
.Net Framework: 4.0
Telerik.Web.UI: 2010.3.1109.40
Murilo
Top achievements
Rank 1
 answered on 18 Feb 2011
4 answers
187 views
Hi, i'm having some kind of trouble while i try to use the Checked property of RadTreeNode, i want to use this property but i don't want to show the checkbox to my user.

This is how my code looks like:

<telerik:RadTreeView OnClientNodeClicked="ClientNodeClicked" CheckBoxes="false"runat="Server" ID="tvwMenuItens"></telerik:RadTreeView>

I tried to set CheckBoxes to true and it worked but i don't want my users to see the checkbox.

Here's how i'm changing the Checked property:

function ClientNodeClicked(sender, eventArgs) {
              var node = eventArgs.get_node();
              var toolBar = $find('<%= tlbSecurityProfile.ClientID %>');
              var saveButton = toolBar.findItemByValue('Save');
 
              if (node.get_text() != null && node.get_text() != '') {
                  if (node.get_value() != null && node.get_value() != '') {
                      if (saveButton.get_enabled()) {
                          if (node.get_checked()) {
                              node.set_checked(false);
                              node.set_imageUrl('<%=Page.ResolveUrl("~/Images/TreeView/TreeView_No_Access.png") %>');
                              node.set_selectedImageUrl('<%=Page.ResolveUrl("~/Images/TreeView/TreeView_No_Access.png") %>');
                          }
                          else {
                              node.set_checked(true);
                              node.set_imageUrl('<%=Page.ResolveUrl("~/Images/TreeView/TreeView_Has_Access.png") %>');
                              node.set_selectedImageUrl('<%=Page.ResolveUrl("~/Images/TreeView/TreeView_Has_Access.png") %>');
                          }
                      }
                  }
              }
          }

I also tried to user Node.Attributes but unfortunately when i tried to get the values from Attributes at server side they were exactly the same as they were in the time of the databind.

Here's how i changed the Attributes from the node:

function ClientNodeClicked(sender, eventArgs) {
              var node = eventArgs.get_node();
              var toolBar = $find('<%= tlbSecurityProfile.ClientID %>');
              var saveButton = toolBar.findItemByValue('Save');
 
              if (node.get_text() != null && node.get_text() != '') {
                  if (node.get_value() != null && node.get_value() != '') {
                      if (saveButton.get_enabled()) {
                          var attributes = node.get_attributes();
 
                          if (attributes.getAttribute("Checked") == "true") {
                              attributes.setAttribute("Checked", "false");
                              node.set_imageUrl('<%=Page.ResolveUrl("~/Images/TreeView/TreeView_No_Access.png") %>');
                              node.set_selectedImageUrl('<%=Page.ResolveUrl("~/Images/TreeView/TreeView_No_Access.png") %>');
                          }
                          else {
                              attributes.setAttribute("Checked", "true");
                              node.set_imageUrl('<%=Page.ResolveUrl("~/Images/TreeView/TreeView_Has_Access.png") %>');
                              node.set_selectedImageUrl('<%=Page.ResolveUrl("~/Images/TreeView/TreeView_Has_Access.png") %>');
                          }
                  }
              }
          }


That's all, thanks
Murilo
Top achievements
Rank 1
 answered on 18 Feb 2011
0 answers
70 views
hello to all
   
                 good day,

                 i'm having difficulties on maintaining the width for my radcombox the browser, when i run it to IE 7 the radcombox is shrinking to about 2px size/width, his width define is 50px, i tried to view it in mozilla firefox its stand on his original size of 50px. what i gonna do to view it in IE browser to its size define to 50px that will not shrink..sample codes is highly appreciated

thanks
Jols
Top achievements
Rank 2
 asked on 18 Feb 2011
5 answers
520 views
I notice, that if you set min/max values on a RadNumericTextBox, and a user enters a value outside of the allowable range, that the text box value gets set to the min or max, depending on which side of the range the disallowed value was entered as. For instance, if the max is set to 5.5, and the user enters 6, the value of the box gets set to 5.5. I realize that there is a brief "alert" display, but this may not be noticed. I can see how this behavior might make sense in some scenarios, however, it can also be misleading, and I'm not sure it should be the default behavior. The user might not notice that the box reset to an approporiate value and may not realize what they wanted to enter was not allowed. Since precision is often key when using numeric text boxes to enter numbers, I don't think the text box should ever "assume" what an appropriate value should be if what the user entered is invalid. Rather, it should simply not allow the user to enter the value. This is the case if the user attempts to enter an invalid character. The same should be true as far as range validation. It might be nice if Telerik has some way of alerting the user that the value they entered was greater than the max or less than the min, however, i don't have a problem with it being incumbent upon us developers to display min/max values next to the textbox. Either way, when the box gets "set" to a value the user never entered, problems can occur.

I also noticed one other small issue. If a NumericTextBox is set to allow negatives (ie the min is not set to 0), and it is also set to allow rounding, and it is also set to KeepNotRoundedValue=False, and it's decimal places is set to some value, like 2, then the following can occur.

If the value entered is negative, however, when rounded, is actually "0.00", then the numeric textbox displays -0.00.

So, in my example, if the value entered was -.004. this would round to 0.00, so the display should be "0.00". However, instead, "-0.00" is displayed and -0 is not a number. If you click on the textbox, the minus sign disppears, but this shouldn't be necessary.

Daniel
Telerik team
 answered on 18 Feb 2011
5 answers
253 views

Hi Guys,
How do i access the image value to show/hide from code behind in a treeview using the following code
Thanks ...

<telerik:RadTreeView runat="server" ID="RadTreeView1">
    <Nodes>
        <telerik:RadTreeNode Text="03" Expanded="True">
            <Nodes>
                <telerik:RadTreeNode Text="4" Expanded="true">
                    <NodeTemplate>
                        <%# DataBinder.Eval(Container, "Text") %>
                    </NodeTemplate>
                    <Nodes>
                        <telerik:RadTreeNode Text="1">
                            <NodeTemplate>
                                <img src="Images/button_download1.gif" alt="" />
                                <%# DataBinder.Eval(Container, "Text") %>
                            </NodeTemplate>
                        </telerik:RadTreeNode>
                    </Nodes>
                </telerik:RadTreeNode>
                <telerik:RadTreeNode Text="1" Expanded="False">
                    <NodeTemplate>
                        <%# DataBinder.Eval(Container, "Text") %>
                    </NodeTemplate>
                    <Nodes>
                        <telerik:RadTreeNode Text="2">
                            <NodeTemplate>
                                <img src="Images/button_download2.gif" alt="" />
                                <%# DataBinder.Eval(Container, "Text") %>
                                </span> </div>
                            </NodeTemplate>
                        </telerik:RadTreeNode>
                    </Nodes>
                </telerik:RadTreeNode>
            </Nodes>
        </telerik:RadTreeNode>
    </Nodes>
</telerik:RadTreeView>
Helen
Telerik team
 answered on 18 Feb 2011
1 answer
120 views
I am having the usercontrol which contains

RadAjaxPanel

 

 

with RadGrid and RadAjaxManager and RadWindowManager.

Radwindow opening a new page which is also having RadAjaxManager and RadGrid, for the CRUD operation in the grid does not displaying the RadAjaxLoadingPanel.

 

Pavlina
Telerik team
 answered on 18 Feb 2011
3 answers
142 views
Hi,

I am generating radsceduler controls at run time. I also set the AppointmentDelete  event to the appropriate event handler. This event gets fired all right when set at design time, but doesn't fire for radascheduler created at runtime. However another event assigned to the dynamically created scheduler, Appointmentcreated, gets fired all right.

Any help on this one will be highly appreciated.

Kind Regards
Veronica
Telerik team
 answered on 18 Feb 2011
2 answers
156 views
I have a RadGrid on a page that uses Sorting/Filtering, Virtual Scrolling, and also hierarchy with 3 tables being loaded on expand. Everything works well except when I scroll towards the bottom of the grid and do an expand/collapse the focus jumps to the top row each time. Is there a reason for this and how do I fix it?

Also once I added hierarchy functionality my dropdown column no longer looks like a dropdown but like a test box though it still functions like a dropdown. I don't know if this is because of something I did or is just something that happens when you add the expand/collapse functionality. Any help would be appreciated.

Thanks
Maria Ilieva
Telerik team
 answered on 18 Feb 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?