Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
83 views
If i check a client select checkbox inside a grid and after pressing the button that particular row should be inserted.can you give me the code for this.what event should i use?how will i select that particular crow and insert into database.
Veli
Telerik team
 answered on 18 Sep 2008
1 answer
220 views
I am trying to use this example:
http://www.telerik.com/community/code-library/submission/b311D-bcdkac.aspx

When I click on apply changes it does not save, I cannot even access the objects.  Is there a way that when you click apply changes it fires an event that does the work in the code behind and saving the grid in the updated order?
Veli
Telerik team
 answered on 18 Sep 2008
2 answers
154 views
Is it possible to have a RadGrid where not every column in the RadGrid uses the google suggest-like filtering?  In the examples I saw, it almost looked like you have to use it for all columns in a particular RadGrid.  I have a few columns in my RadGrid where it makes sense to give the user a combobox with google suggest-like filtering, but there are also columns where it doesn't make sense.
librido
Top achievements
Rank 1
 answered on 18 Sep 2008
2 answers
236 views

Hi
     I want to know whether TreeView support radio button or not.
     And one more thing that can we arrange the different treeview's nodes into different rows of a tables
for better perception given below the e.g.

AVP - John Miller - Northern
     RM - Andrew Mill - NorthEast
         ARM - Nancy Stewart - NorthEast
          DM - K. Joyce - Upper NY
              TSR - Joe Young - Upper NY South
              PHR - Peter Fox - Upper NY East
              PHR - Sandra Smith - Upper NY West
              Intern - Monica Sorawski - Upper NY North
          DM - Nathan T. - North PA
     RM - Dan Ackman- NorthWest
          DM - Larry Kidman - South MD
          DM - Jacob Jenkins - North MD
     RM - Marcus Lego - SouthEast


Praveen
Top achievements
Rank 1
 answered on 18 Sep 2008
8 answers
150 views

I am using DNN 4.8.4 and defaulted HtmlEditor to RadEditor in the web.config.
I have a module which load the DnnEditor ("~/Controls/texteditor.ascx"), I am receiving the below mentioned error while loading the module:

A critical error has occurred.
The control collection cannot be modified during DataBind, Init, Load, PreRender or Unload phases.

When I switch back the "FckHtmlEditorProvider" as default there wont be any error. In this page I am using the RadAjax too.

I have downloaded the "RadControls_for_ASP.NET_AJAX_2008_2_723_dev.exe" and using it.

Could you please help me in resolving the above mentioned issue?

Thanks in Advance.

Regards,

Dax

Lini
Telerik team
 answered on 18 Sep 2008
2 answers
141 views
I have a RadTree inside an UpdatePanel and a Javascript function for ClientNodeExpanded event. I have everything inside the RadTree in a NodeTemplate. I am calling eventArgs.get_node() and then do a findControl but I am getting a javascript error saying "Object does not support his property or method" . Can you please tell me what I am doing wrong?
Below is my code snippet.

function ClientNodeExpanded(sender, eventArgs)
{
    var node = eventArgs.get_node();
    alert(node); //so far so good. I am getting [object object]  
    var hdNodeExpandCtrl = node.findControl("hdNodeExpand");
}

<asp

:UpdatePanel ID="RadTreeUpdatePanel" runat="server" ChildrenAsTriggers="false" UpdateMode="Conditional">
<ContentTemplate>
<telerik:RadTreeView ID="RadTreeView1" Width="100%" runat="server" ShowLineImages="False"
OnClientNodeExpanded="ClientNodeExpanded" Skin="Web20"OnClientNodeCollapsed="ClientNodeCollapsed" >
<NodeTemplate>
<div id="nodeEle" runat="server">
            <input type="hidden" id="hdNodeExpand" value="0" />
</div>
</NodeTemplate>
</telerik:RadTreeView>
</ContentTemplate>
</asp:UpdatePanel>

 

hbanerjee
Top achievements
Rank 1
 answered on 18 Sep 2008
1 answer
177 views
Hi, I am following the image gallery sample and it is working perfectly, however when I mouseover one of the thumbnails I would like to open the image up in a radwindow. I am binding the radcontrol to xml data. How can I do this? Thanks.
Georgi Tunev
Telerik team
 answered on 18 Sep 2008
1 answer
172 views
I use a custom stylesheet for the body of the editor to set the font and background colors. Here is what the css looks like:

body

{
font-family: Arial, Helvetica, san-serif; font-size: 11px;
background-color: #383838;
color: #fff;
}

But something wierd happens when using the editor. If I start typing in the editor without changing anything, the text looks just fine. But if I select the text i have entered, hit backspace to delete and type some more, the editor wraps that text in a <span> tag and applies a different background color to that text. Here is the markup the editor creates:

<span style="background-color: #383838">this is a test</span>

Normally this would be fine, but it just so happens that the page I am putting the output of the editor on does not always have the same background color so the text looks highlighted. Is there any way to prevent it from putting a background color unless specifically added via the text background tool?

Rumen
Telerik team
 answered on 18 Sep 2008
2 answers
144 views
Hi All,

I am using RadAjaxManager on an asp.net page and this page also includes a master page.

On running it gives the error.

The Controls collection cannot be modified because the control contains code blocks (i.e. ). at System.Web.UI.ControlCollection.AddAt(Int32 index, Control child) at Telerik.Web.UI.RadAjaxControl.MoveUpdatePanel(Control initiator, Control updated

Please suggest.
Maria Ilieva
Telerik team
 answered on 18 Sep 2008
1 answer
106 views
I have encountered a problem with the RadDock control when it is used inside an IFRAME with the frameborder property set to 0.

I have a simple page (raddocktest.aspx) which just creates a draggable Raddock and puts it on the page. This works fine, and you can click on the RadDock title and drag it around.

However, if I include this page within an IFRAME in another page (johnmaster.aspx) then I get a problem (only when using IE7, it is fine in firefox). If I set the frameborder property of the iframe to 0 then the raddock jumps slightly when I click on the title bar. It moves up and left by about 4 pixels. This does not happen when I set the frameborder to 1, but I don't want a frame border. It also moves about 2 extra pixels at the end of the drag when it is dropped.

I have included here the source of the raddocktest.aspx page and the page with the iframe that it sits in.

Any ideas what I can do to stop this happening? I makes it very annoying to drag/drop the raddock when it keeps jumping a few pixels each time.


johnmaster.aspx

<%

@ Page Language="VB" AutoEventWireup="false" %>

<%

@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

<!

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>demo</title>

</

head>

<

body >

<form id="frmMaster" runat="server">

<iframe id="MainFrame" src="raddocktest.aspx" height="700" frameborder=0 width="500" scrolling="no" >

</iframe>

</form>

</

body>

</

html>

RADDOCKTEST.ASPX

<%

@ Page Language="VB" AutoEventWireup="false" CodeFile="raddocktest.aspx.vb" Inherits="raddocktest" %>

<%

@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

<!

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>Untitled Page</title>

</

head>

<

body>

<form id="form1" runat="server">

<div>

<asp:Panel runat=server ID="MainArea"></asp:Panel>

<telerik:RadScriptManager ID="RadScriptManager1" runat="server">

</telerik:RadScriptManager>

</div>

</form>

</

body>

</

html>

RADDOCKTEST.aspx.vb

Imports

Telerik.Web.UI

Partial

Class raddocktest

Inherits System.Web.UI.Page

Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

Dim Raddock As New RadDock

Raddock.Width = 200

Raddock.Height = 100

Raddock.Top = 200

Raddock.Left = 200

Raddock.Title =

"hello"

Raddock.ID =

"MYRADDOCK"

MainArea.Controls.Add(Raddock)

End Sub

End

Class


Sophy
Telerik team
 answered on 18 Sep 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?