

LinkButton lnkScriptFile = new LinkButton();
lnkScriptFile.ID =
"lnkScriptFile1";
lnkScriptFile.CommandName =
"DownloadAttachment";
lnkScriptFile.Text =
"Attachment " + (i + 1) + ": " + dtr["FileName"].ToString() + dtr["Extension"].ToString();
lnkScriptFile.CommandArgument = dtr[
"StageFileId"].ToString();
lnkScriptFile.OnClientClick =
String.Format(@"{0}.__doPostBack(""{1}"",""{2}"");", RadAjaxManager1.ClientID, lnkScriptFile.UniqueID, lnkScriptFile.CommandArgument);
pnlScriptFiles.Controls.Add(lnkScriptFile); I am adding OnClientClick event handler to do a real postback when the button is clicked. But I also need to invoke ItemCommand event of the grid. How can I do that?
function OnClientItemsRequesting(sender ,eventArqs)When I debug this, it appears to be working. It reads in the characters that have been typed in, and if its less than 3, it goes to the return false statement. However, the server event is still being fired and the combobox is being populated.
{
var textvalue = sender._inputDomElement.value;
if(textvalue.length < 3)
{
return false
}
}
Hello,
i want to allow that the user of a schedule system may select there own color-combinations for there appointments. When i use CSS cooded by hand it is working, but because i have no idear how many users will register for this calender, i store the background/forecolor in there user Profile. It may come 120 User total, so i don't want the change the CSS and
select
case
statement
all the time
When i just set these color during appointment creating like
e.Appointment.BackColor = System.Drawing.ColorTranslator.FromHtml(rw(
"backcolor"))e.Appointment.ForeColor = System.Drawing.ColorTranslator.FromHtml(rw("fontcolor"))
the colors are correct but i have a background-grafik overlap at the upper border of my appoinment. i guess this is cooming from the oroginal (in my Case Office2007) skin i am using.
This is not the case when i used hard cooded CSS with no background-image defined, then the grafik is gone.
What must i do to remove the grafik, when i set the colors by code behind.
Kind Regards
Martin Gartmann