Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
218 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
56 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
98 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
57 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
108 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
93 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
109 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
2 answers
122 views
Hello,

is there a way to align images for each list item by the right side?

something like this
Kalina
Telerik team
 answered on 03 Jun 2011
2 answers
113 views
I am using a custom style sheet for my menu.  The hover background is correct, but the selected is not working.  Here is the css:

.RadMenu_Insignia a.rmLink:hover,
.RadMenu_Insignia a.rmFocused,
.RadMenu_Insignia a.rmSelected
{
    background-color: #ffd700 !important;
}

Any help would be greatly appreciated.  This is very frustrating.
Samantha
Top achievements
Rank 1
 answered on 03 Jun 2011
4 answers
166 views
I've created a RadGrid programmatically.  What I'm trying to do is save it programmatically.  I've created an asp save button to do this, and I've tried writing a save function.  My problem is that when I try to access much of the component data of the RadGrid from the save function, it is not there.  Not just the contents of the RadGrid, but the grid columns themselves are missing.  I'm not sure why that is.  Is it because I've declared them with the OnPreRender and OnDataBound methods?
s
Top achievements
Rank 1
 answered on 03 Jun 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?