Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
103 views
Hi ALL,
When I load my page with empty grid ,I dont AddNewReord link!!!!!!!!!!!!!!!!

thanks
ghadeer
Princy
Top achievements
Rank 2
 answered on 11 May 2009
1 answer
196 views
Hi ALL,
Addd new record botton not visible at design time.how can I show it

thanks
ghadeer
Princy
Top achievements
Rank 2
 answered on 11 May 2009
1 answer
104 views
Hi,

I have delete button on the grid. I need an alert when i click on the delete button, asking the users to confirm whether to delete the existing record.

If say "yes", delete record.
If say "no" , no deleting of record.


Regards
Syed Arshad
Shinu
Top achievements
Rank 2
 answered on 11 May 2009
10 answers
269 views
When using the FormatCodeBlock in the RadEditor the code keywords are rendered blue or red etc.., the non colored code is rendered with the color that is defined in my body css instead of its own style.

My default color set in my body css is light and since the codeblock renders a light background and uses my body color instead of its own color like the red and blue keywords it is hardly readable. Can I override this in an easy way? I want the regular code to be black instead of take over my body css color.

Are you aware of this and is there coming a fix in the next release of the RadEditor so it uses its own style instead of take over the body style?

I am using the RadEditor with DotNetNuke 4.8.4
Ryno
Top achievements
Rank 1
 answered on 10 May 2009
1 answer
97 views
Hi,

How can I disable appointment Drag & Drop ?

Thanks !
Blah
Top achievements
Rank 1
 answered on 09 May 2009
0 answers
123 views
I am using a radtreeview say of the following structure.
Node A
    Node B
        Node C
            Node D

If I drag and drop Node C over Node A. The tree view changes as
Node A
    Node C
        Node B
            Node D

Now if I try to drag and drop  Node B over Node A -> Nothing happens. Please help me to implement this.

The treeview properties are:

 

<telerik:RadTreeView ID="radTree1" runat="server" OnNodeClick="radTree1_NodeClick"

 

     Height="160px" EnableDragAndDrop="True" OnNodeDrop="radTree1_HandleDrop" >

 

 

 

    <CollapseAnimation Type="OutQuint" Duration="100"> </CollapseAnimation>

 

 

 

    <DataBindings> <telerik:RadTreeNodeBinding Expanded="true"/> </DataBindings>

 

 

 

    <ExpandAnimation Duration="100"> </ExpandAnimation>

 

 

 

</telerik:RadTreeView>

The onnodedrop event is triggered when child node is moved above. OnNodeDrop event is NOT TRIGGERED when parent node is moved below.

Thanks in advance.

 

 

 

 

 

Yoga
Top achievements
Rank 1
 asked on 09 May 2009
6 answers
787 views
When dealing with Telerik controls and having to wrap a JavaScript event the usual structure is OnClientXXXX="SomeMethod". The method expects a sender and eventArgs, and nothing else.

Is there a way to pass other parameters to SomeMethod? Sometimes I'd prefer to write a single JS method that is called by several controls. To make these methods generic I usually need to pass some other information as well, like an ID of another control.

Thanks.
Peter Zolja
Top achievements
Rank 1
 answered on 08 May 2009
1 answer
92 views

I'm using the example as define here
http://demos.telerik.com/aspnet-ajax/fileexplorer/examples/fileselectordialog/defaultcs.aspx

All seems to be working very well, except that I can't get the selected filename via 

openerPage.OnFileSelected(wnd, item.get_path());


The only difference that I can see in my setup is that my initial page or openerPage is a content page of a master.

Any ideas?
Roger
Top achievements
Rank 1
 answered on 08 May 2009
6 answers
304 views

We are using a scenario very similar to the SharePoint example with user controls being loaded into a web part. This has worked very well for us with the previous Telerik controls and now we are going to the newer AJAX suite of controls. However, we cannot get it to work without giving errors. So, we built a small test scenario using the steps below, but no matter the scenario, when a radgrid is on the page, it gives the dreaded "An unexpected error has occurred" error.

Deployment Steps based on this site http://www.telerik.com/help/aspnet-ajax/moss-deploying-radcontrols.html:
1. Drop the .net 3.5 version of the Telerik.Web.UI and Telerik.Web.Design dll's in the GAC
2. Add the safe control references in the web.config

<SafeControl Assembly="Telerik.Web.UI, Version=2009.1.402.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Namespace="Telerik.Web.UI" TypeName="*" Safe="True" />

 <

 

SafeControl Assembly="Telerik.Web.Design, Version=2009.1.402.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Namespace="Telerik.Web.Design" TypeName="*" Safe="True" />
3. Reset IIS
4. Build a generic page for testing with this code.

<%@ Page Language="C#" %>
<%@ Register Assembly="Telerik.Web.UI, Version=2009.1.402.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<html dir="ltr">

<head runat="server">
<meta name="WebPartPageExpansion" content="full" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled 1</title>
<meta name="Microsoft Theme" content="SDL 1011, default" />
</head>
<body><form id="form1" runat="server">

<telerik:RadGrid ID='grid' runat="server"></telerik:RadGrid>

</form></body></html>

5. Run the page
6. The result is a SharePoint error like this
     An unexpected error has occurred.

     Troubleshoot issues with Windows SharePoint Services.

Additional comments:
1. Trying multiple sites (same server)
2. Putting the dll's in the _app_bin directory with the previous version of the Telerik controls and adding the references to the web.config
3. When running the grid in the web part, the error occurs before any of the user control code is called.
4. Tried using the 2.0 versions of the dll, but that would require reverting the site, which would break other things.
5. After looking through the log files numerous times and having others look through the SharePoint log files, there does not appear to be any reference to the error that occurred.
6. There were no errors reported in the event logs.
7. The grid does show up in the SharePoint designer.

Any thoughts on what else I might want to look at or try to get this working?

Thanks!

Iomedex
Top achievements
Rank 1
 answered on 08 May 2009
3 answers
199 views
I have 4 tabs with 4 corresponding pageviews.  Under certain conditions, I set tab number 2 to visible = false.  This causes the contents of pageview 2 to appear in tab 3 (and the contents of pageview 3 to appear in tab 4).  However, if I set the visible property of pageview 2 to false,  it simply takes away the contents of tab 3.  So basically, how do I get rid of tab 2 and it's pageview at the same time?

Thanks for you help,
Lisa
Chris
Top achievements
Rank 2
 answered on 08 May 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?