Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
75 views
I need to internationalize the confirmation text from my GridClientDeleteColumn with a text set in code behind (because translations are in the db, not in resource files).  I know how to get ahold of the controls inside of the column for a specific row in the ItemCreated method (item["DeleteColumnName"].Controls[0]), but I don't know how to get ahold of the GridClientDeleteColumn itself to change the ConfirmText field, and I don't know how to get ahold of the whole column at once to change for all rows as opposed to one row at a time.  Any thoughts? 

Many thanks!
Shira
Top achievements
Rank 1
 asked on 03 Jun 2011
4 answers
347 views
Hello,

RadControls v2011.1.413.35

I am using a RadSplitter as a container for my application.  The splitter has a top row that contains a header, a middle row that contains a nested RadSplitter with two columns (left side is a RadPanelBar menu and right side is content).

My requirements are to support a minimum screen resolution of 1024 x 768.

I want a RadSplitter that occupies 100% height and 100% width, but maintain a minimum height and width of 1000 x 600, and when this occurs, display horizontal and/or vertical scrollbars when necessary to be able to scroll to see the entire application.

I tried using your online example for 100% width and height and that works just fine.  However, when I tried to limit the height and width using MinHeight and MinWidth properties for the RadPanes it does not work when the browser is resized smaller and I get no scrollbars.

Here is my Splitter code:

<div id="ParentDivElement" style="height: 100%;">
    <telerik:RadSplitter ID="MainSplitter" runat="server"
        Height="100%"
        Width="100%"
        Orientation="Horizontal"
        >
        <!-- TOP pane -->
        <telerik:RadPane ID="TopPane" runat="server"
            Height="64px"
            MinHeight="64"
            Scrolling="none"
            >
            <!-- Place the header info here -->
        </telerik:RadPane>

        
<!-- MIDDLE pane -->
        <telerik:RadPane ID="MainPane" runat="server" Scrolling="none">
            <telerik:RadSplitter ID="NestedSplitter" runat="server" LiveResize="true">
                <!-- LEFT pane -->
                <telerik:RadPane ID="LeftPane" runat="server"
                    Height="500px"
                    MinHeight="500"
                    MinWidth="220"
                    Width="220px"
                    >
                    <!-- Place the RadPanelBar menu here -->
                </telerik:RadPane>

                
<!-- RIGHT pane -->
                <telerik:RadPane ID="ContentPane" runat="server"
                    Height="500px"
                    MinHeight="500"
                    MinWidth="760"
                    Width="760px"
                    >
                    <!-- Place the content of the pane here -->
                </telerik:RadPane>
            </telerik:RadSplitter>
        </telerik:RadPane>
    </telerik:RadSplitter>
</div>

is this possible?

Thanks,

Randall Price
Senior Developer
Virginia Tech
Randall
Top achievements
Rank 2
 answered on 03 Jun 2011
2 answers
98 views
We've been using RadEditor with LinkManager  and now...suddenly it's quit working sometime within the last 2 releases? FF4 or IE9 same error dialog...

"Web.config registration missing!
 The Telerik dialogs require a HttpHandler registration in the web.config file. Please, use the control's Smart Tag to add the handler automatically, or see the help for more information: Controls > RadEditor > Dialogs > Introduction"

I have tried every single suggestion on this forum and searching the WWW to get the RadEditor LinkManager to not throw the "missing web.config" dialog.

PLEASE do not point me to this almost 3 year old article...nothing works..
http://www.telerik.com/support/kb/aspnet-ajax/editor/error-web-config-registration-missing-the-telerik-dialogs-require-a-httphandler-registration-in-the-web-config-file.aspx

I have also tried referencing external dialog files..it still throws the same exception...so how do I debug or workaround the problem - write my own custome handlers?
Ken
Top achievements
Rank 1
 answered on 03 Jun 2011
5 answers
228 views
Hello,

I am trying to add a link button to the Advanced Form by handling the OnFormCreated event. here is my code:

protected void RadScheduler_FormCreated(object sender, SchedulerFormCreatedEventArgs  e)
    {
        if (e.Container.Mode == SchedulerFormMode.AdvancedEdit)
        {
            LinkButton l = new LinkButton();
            l.Text = "Additional Info";
            l.ForeColor = Color.White;
            l.PostBackUrl = "some url";
            e.Container.Controls.Add(l);
        }
    }

When I execute the code, I can confirm that the e.Container.Controls collection is being updated (the Count went up by 1 and I can query the last control and it is t\my LinkButton), but the LinkButton button is not visible on the form.

Am I doing anything wrong?

Thank you,
Daniel
Daniel
Top achievements
Rank 1
 answered on 03 Jun 2011
1 answer
61 views
I'm trying to set a default style on the edit\delete columns for a custom RadGrid skin...

How do I go about that?...is there a css class I can apply to those items?

KEEPING IN MIND :)
1) Custom .Skin and .Css so I can't do any sort of Code-behind ItemDataBind trickyness...
Gimmik
Top achievements
Rank 1
 answered on 03 Jun 2011
5 answers
102 views
Hello,

How can I make a datafield "edittable" on an insert call, but not on an update? I generate my table fine, and I use inline for editting mode. I display a name column, and a description column. When I click on update, I want only the description field to be edittable, but if I click on the add new record, I want both the name and description fields to be edittable. How can I accomplish this?

Thanks.

Nizar
Top achievements
Rank 1
 answered on 03 Jun 2011
1 answer
65 views
Hi all,

Would anyone have any information on how it would be possible to shade the background of each individual resource (engineer) based upon their start and end times of working stored in a database.  It would basically provide a visual indication of when the engineer would be in work on that particular day.

Any comments and suggestions would be grateful.  A response as soon as possible would be great.

Regards
Craig
Plamen
Telerik team
 answered on 03 Jun 2011
4 answers
114 views
hi all
i want read all of my fields of table and in each record have an image button that show image that its name is "~\Image\"+fieldname(one of table field).
how can do this?
thankful.
rastin
Top achievements
Rank 1
 answered on 03 Jun 2011
3 answers
95 views
Hi all,

I have a RadWindow which has controls that are enabled/displayed before display based on properties.
if (properties["AutoRefreshEnabled"] == "True") {
    document.getElementById('<%= CheckBox1.ClientID %>').checked = true;
    $find("<%= RadNumericTextBox1.ClientID %>").set_value(properties["AutoRefreshInterval"]);
    $find("<%= RadNumericTextBox1.ClientID %>").enable();
}

RadNumericTextBox1 is enabled and has its value set, the check box is set as well, but the label of RadNumericTextBox1 remains gray even though though its text box is enabled.

I've tried setting various CSS properties to remedy this.

.riLabel color: Black !important; causes the label to permanently stay Black regardless of whether I enable or disable it. Gray similarly.

I tried messing with .riLabel .LabelEnabled / .LabelDisabled, but was not seeing any effect. 

What's the proper way to get this to work?

Thanks,

Sean Anderson
Martin
Telerik team
 answered on 03 Jun 2011
1 answer
113 views
Hi,

Can you tell me how to set the selected item value of rad combo box within rad grid?

Thanks,
Cat Cheshire
Top achievements
Rank 1
 answered on 03 Jun 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?