Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
155 views
Hi,

I have create a page (aspx with Rad Grid) and another web control with (ascx).

The ascx will be used to add/edit data in grid.

        <EditFormSettings EditFormType="WebUserControl" UserControlName="BoardPositionDetails.ascx"> 
        </EditFormSettings> 
 

In WebUserControl I have used a RadTreeView. I am going to use on demand loading with rad tree. My problem is any event of radtree does not call the code behind event methods.

Is this possible to do ?

Thanks in advance

Dinesh
Simon
Telerik team
 answered on 16 May 2008
3 answers
185 views
Greetings, How do you assign a vanlue to a custom attribute based on an external drop down list or text box?
T. Tsonev
Telerik team
 answered on 16 May 2008
1 answer
76 views
After my </telerik:radmenu> control I put a header/banner img.

The banner shows up in IE and Firefox on the right side of the menu!

I put a <br /> after the radmenu and it still didn't work.  I put 2 <br /> tags and it moved the img down too far.  Any idea what could be wrong?

Thanks!
T. Tsonev
Telerik team
 answered on 16 May 2008
0 answers
286 views
I have following in Master Page.
ScriptManager1_AsyncPostBackError()
and following in BasePage.
 OnError().

In OnError() I get Server.GetLastError(). Now, I want to display the message as javascript alert() or radalert() from OnError and do the Server.ClearError(). - first of all is it good idea?

Next, whatever message I set to AsyncPostBackErrorMessage  - as per documents - it is sent to browser. But then what happens to it? How can I get it on the client side and display it?
radScriptManager1.AsyncPostBackErrorMessage = exception.message

Will Page.OnError() be called in case of AsyncError?

Is it first of all good idea to display all errors back to user as alert() box?
-Piyush
Piyush Bhatt
Top achievements
Rank 2
 asked on 16 May 2008
6 answers
179 views
hi!

i'm using a modified skin (office2007) for scheduler - which works fine for the scheduler itself...

when i call the advanced edit form the calendar control that is used for the start & end date is missing it's images and the popup calendar seems to miss all css...

it searches for the images under the application root...

where can i set the skin, paths or style sheet for the calendar control within scheduler? or where / or how do i have to include the skin for the calendar control?

thank you very much for your help!
kind regards
reini
Reini
Top achievements
Rank 2
 answered on 16 May 2008
3 answers
112 views
Hello im using the radeditor and i am trying to bind the html after the user has inputed the text they want, i would like to insert it into the database. Could someone explain to me how to do this
Rumen
Telerik team
 answered on 16 May 2008
1 answer
85 views
Basically I have 3 tables:
Table 1: tblCars (fields: CarId, CarName)
Table 2: tblAppointments (fields: ApptId, ApptStart, ApptEnd...)
Table 3 (links 1 & 2): tblReserve (fields: ApptId, CarId)

An "Appointment" can reserve MANY cars, hence the need for Table 3.

I want a new appointment to allow them to select 1 or more cars then save it.  On save it saves the appointment and the necessary info to Table 3.

How do you suggest I handle this?  I was thinking that I could use Resource Types, but wasn't sure how to save them to Table 3 etc...

Any thoughts on this?
T. Tsonev
Telerik team
 answered on 16 May 2008
1 answer
164 views
Hi.

I am using a scheduler in a rad tabstrip. It is populated according to a projectID when a dropdownlist causes a postback.

If I don't rebind() the scheduler at page load, the scheduler doesn't populate on the first postback from the drop down list.

If I add RadScheduler1.Rebind() in the page load event, it works great except that the insert and update event don't work anymore.

What shall I do to combine both?
 
I have already added RadScheduler1.Rebind() to the selectedindexchanged event of the drop down list to no effect.
Dimitar Milushev
Telerik team
 answered on 16 May 2008
8 answers
338 views

How do I add a custom tool icon?

Here's what I have so far:

<%

@ Page Language="C#" AutoEventWireup="true" CodeFile="RadEdit.aspx.cs" Inherits="RadEdit" %>
<%
@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<html>
<
head>
<
style>
body{background-color:#f0f0f0;}

.FieldLabel{background-image: url(FieldLabel.gif);}

</
style>
</
head>
<
body>
<
form runat="server">
<
telerik:RadScriptManager ID="RadScriptManager1" runat="server" />
<
telerik:RadEditor ID="RadEditor1" runat="server" Skin="WebBlue" ToolsFile="FormTools.xml"></telerik:RadEditor>
</
form>
<
script>
Telerik.Web.UI.Editor.CommandList["FieldLabel"] = function(commandName, editor, args) { editor.pasteHtml("<span id=\"FiledLabel\">Field Label</span>"); }
</script>
</
body>
</
html>

FormTools.xml:

<root>
<
tools name="CustomTools" dockable="true" enabled="true">
<
tool name="FieldLabel" />
</tools>
</root>

Everything works except that the default icon is not replaced by FieldLabel.gif.

Please, No Themes, Skins, Subdirectories, dropdown listboxes or any other code that might confuse the issue. It seems to me to be how the tool is referenced in the <style> tag.

Rumen
Telerik team
 answered on 16 May 2008
3 answers
169 views
Hello

I have a simple raddocklayout, with 2 dock zones and one raddock.
The doc is acting as a toolbar and has a few buttons in it, and it will doc to the top or left of my content pane, which at the moment for testing purposes is a blank image.

The dock starts off at the top and looks fine and all the buttons are horizontally next to each other, when I drag it to the left it resizes its self and the buttons fall below each other.

If I drag the RadDock out of the dockzones the buttons fall horizontally next to each other again, but if I drag the Dock from the left DockZone straight to the top dockzone the RadDock doesn't resize, and I get a vertical scroll bar..

It appears as a bug as it seems strange that it resizes when I drag to the left zone.

Here is my code, could you advise if I am doing something wrong, or if it is indeed a bug.

<style type="text/css">  
        #wrapper  
        {  
            text-align: left;  
            margin: 0px auto;  
            padding: 0px;  
            border: 0;  
            width: 600px;  
        }  
        #head  
        {  
            float: left;  
            width: 505px;  
        }  
        #corner  
        {  
            float: left;  
            width: 95px;  
            color: Red;  
        }  
        #side-a  
        {  
            height: 500px;  
            float: left;  
            width: 95px;  
            text-align: left;  
        }  
        #side-b  
        {  
            margin: 0;  
            float: left;  
            width: 505px;  
        }  
    </style> 
    <asp:ScriptManager ID="ScriptManager" runat="server" /> 
    <telerik:RadDockLayout ID="RadDockLayoutMain" runat="server">  
        <div id="wrapper">  
            <div id="corner">  
            </div> 
            <div id="head">  
                <telerik:RadDockZone BorderWidth="0" ID="dockTop" Height="40" Width="500" runat="server" 
                    Orientation="Horizontal">  
                    <telerik:RadDock BorderWidth="0" ID="RadDock1" runat="server" DockHandle="Grip">  
                        <ContentTemplate> 
                            <asp:Button ID="button1" runat="server" Text="butt1" /> 
                            <asp:Button ID="button2" runat="server" Text="butt2" /> 
                            <asp:Button ID="button3" runat="server" Text="butt3" /> 
                            <asp:Button ID="button4" runat="server" Text="butt4" /> 
                        </ContentTemplate> 
                    </telerik:RadDock> 
                </telerik:RadDockZone> 
            </div> 
            <div id="container">  
                <div id="side-a">  
                    <telerik:RadDockZone Height="500" BorderWidth="0" ID="dockLeft" runat="server" Orientation="Vertical">  
                    </telerik:RadDockZone> 
                </div> 
                <div id="side-b">  
                   <img src="" width="500" height="500" /> 
                </div> 
            </div> 
        </div> 
    </telerik:RadDockLayout> 

Thanks

Bex
Sophy
Telerik team
 answered on 16 May 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?