Telerik Forums
UI for ASP.NET AJAX Forum
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
104 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
68 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
115 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
102 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
114 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
139 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
120 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
170 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
2 answers
293 views
Hello All,

Attach is my grid which uses AjaxLoadingPanel, on row click, below code is executed.

I need gray out/disable the grid while below code is ececuted and enable the grid while all code execution done for below code.

Is there any way to do? Please help...


protected

 

override void RaisePostBackEvent(IPostBackEventHandler source, string eventArgument)

 

{

 

try

 

{

 

base.RaisePostBackEvent(source, eventArgument);

 

 

if (source == this.grdADInbox && eventArgument.IndexOf("RowDblClicked") != -1)

 

{

Session[

"strApproveUrl"] = null;

 

Session[

"strRejectUrl"] = null;

 

Session[

"TranType"] = null;

 

 

RadGrid rg = (RadGrid)source;

 

 

int index = int.Parse(eventArgument.Split(':')[1]);

 

 

mvTransaction.ActiveViewIndex = 0;

rtsADItem.SelectedIndex = 0;

divAction.Visible =

true;

 

 

Decimal transaction_Key = Convert.ToDecimal(rg.Items[index].OwnerTableView.DataKeyValues[index]["Tran_Key"]);

 

hdnTranKey.Value =

Convert.ToString(transaction_Key);

 

hdnTranType.Value = (

string) rg.Items[index].OwnerTableView.DataKeyValues[index]["TransactionType"];

 

Session[

"TranType"] = hdnTranType.Value;

 

 

//load attachment

 

LoadAttachment();

ViewState[

"islinkkVisible"] = true;

 

 

//load transaction detail

 

LoadTransactionDetail();

Session[

"strApproveUrl"] = "ApproveAction.aspx?action=Approve&&Tran_Key=" + transaction_Key + "&&Current_Step=" + rg.Items[index]["CurrentStep"].Text;

 

Session[

"strRejectUrl"] = "ApproveAction.aspx?action=Reject&&Tran_Key=" + transaction_Key + "&&Current_Step=" + rg.Items[index]["CurrentStep"].Text;

 

btnApprove.Attributes.Add(

"onclick", "return ShowApprovalPopUp('" + Convert.ToString(Session["strApproveUrl"]) + "');");

 

btnReject.Attributes.Add(

"onclick", "return ShowApprovalPopUp('" + Convert.ToString(Session["strRejectUrl"]) + "');");

 

}

 

}

 

catch (Exception ex) {

 

 

throw ex;}

 

}

Lp1
Top achievements
Rank 1
 answered on 03 Jun 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?