<link rel="stylesheet" type="text/css" href="cga.css" media=screen>
This sheet has been in use for several years, is quite simple, and myself being the programmer and not the designer, not knowledgeable to take an educated guess as to where the conflict is originating.
Is there a way to set RADedit to ignore whatever it might be inheriting from the page's default stylesheet?
Environment: Visual Studio 2008 / VB / IE 7
Problem occurs on Vista Ultimate running IIS 7.0 and Win Server 2003 running IIS 6.0.
I have the Q1 2008 release of RAD, purchased just last week.

Hi!
I have a grid with edit form template. One of the columns has dropdown list in it's edit mode. How can I bind that list when edit bottun pressed?
I have tried following:
void RadGrid1_ItemCommand(object source, GridCommandEventArgs e)
switch ((string)e.CommandName)
{
case "Edit":
e.Item.Edit = true;
Bind();
RadGrid1.EditIndexes.Add(e.Item.ItemIndex);
DropDownList ddlHZZO = ((System.Web.UI.WebControls.DropDownList)(((System.Web.UI.WebControls.ImageButton)(e.CommandSource)).Parent.FindControl("editHZZO")));//---- ddlHZZO is stil null after this
HandleDropDown(ddlHZZO, Lookup.GetArtikliHZZO(true));
if (!_nalog.Nalog.IsHZZOIDNull())
{
ddlHZZO.SelectedValue = _nalog.Nalog.HZZOID.ToString();
}
break;
case "Save":
TextBox tbSerijskiBroj = ((System.Web.UI.WebControls.TextBox)(((System.Web.UI.WebControls.ImageButton)(e.CommandSource)).Parent.FindControl("editSerijskiBroj")));
TextBox tbKolicina = ((System.Web.UI.WebControls.TextBox)(((System.Web.UI.WebControls.ImageButton)(e.CommandSource)).Parent.FindControl("editKolicina")));
string serijskiBroj = tbSerijskiBroj.Text;
int kolicina = Convert.ToInt32(tbKolicina.Text);
_nalog.UpdateArtikal(nalogArtiklID, trosak, serijskiBroj, kolicina);
RadGrid1.EditIndexes.Clear();
Bind();
IzracunCijena();
break;
case "Cancel":
RadGrid1.EditIndexes.Clear();
Bind();
break;
default: break;
}
}
<
FormTemplate>
<table>
<tr><td valign="top"><table>
<tr><td>Kolicina: </td>
<td><asp:TextBox Width="15" ID="editKolicina" runat="server" CssClass="textbox" Text='<%# Bind("Kolicina") %>'></asp:TextBox></td></tr>
<tr><td>Ser. br. aparata: </td>
<td><asp:TextBox ID="editSerijskiBroj" runat="server" Width="80" CssClass="textbox" Text='<%# Bind("SerijskiBroj") %>'></asp:TextBox></td></tr>
<tr><td>Prat. trošak: </td>
<td><asp:CheckBox ID="editTrosak" runat="server" Checked='<%# Bind("Trosak") %>' /></td></tr>
</table></td>
<td valign="top">Podaci za HZZO:</td>
<td valign="top">
<table><tr><td>Količina: </td><td><asp:TextBox Width="15" ID="editKolicinaHZZO" runat="server" CssClass="textbox" Text='<%# Bind("KolicinaHZZO") %>'></asp:TextBox></td></tr>
<tr><td>Artikal:</td><td><asp:DropDownList ID="editHZZO" runat="server" CssClass="dropdown" TabIndex="7" AppendDataBoundItems="True"></asp:DropDownList></td></tr>
</table></td></tr>
<tr><td></td><td></td>
<td><asp:ImageButton ToolTip="<%$ Resources:Resource, lbInsert %>" ID="TemplateSave"
CommandName="Save" runat="server" ImageUrl="../Images/Update.gif" /><asp:ImageButton
ToolTip="<%$ Resources:Resource, lbCancel %>" ID="TemplateCancel" runat="server"
ImageUrl="../Images/Cancel.gif" CommandName="Cancel" CausesValidation="true" /></td></tr>
</table>
</FormTemplate>
I want to bind it with datatable, and when edit form template shows to be selected value chosen right.
Thanks, Ana
public void RadGrid1_ItemDataBound(object sender, GridItemEventArgs e)
{
if (e.Item is GridDataItem)
{
add the text box...
TextBox txtBox =
new TextBox();
txtBox.ID =
"txtQty" + e.Item.ItemIndex.ToString();
txtBox.Attributes.Add(
"runat", "server");
e.Item.Cells[4].Controls.Add(txtBox);
}
}
Textbox adds fine, Shows up in grid, but when posted back, is not available in grid. I'm not rebuilding the grid on postback since I don't want to loose the values.
The grid is not in edit mode -- I need the text boxes on all rows so the user does not want to click 'edit' each time they want to add a value. Upon postback, I want to read each row and check to see if the data is different than originally loaded.
What am I missing here?
Thanks!
Hi,
Currently I m using sharepoint's file upload control for uploading files in
document library which allows to upload (select more than one file) multiple files at a time. I want to replace this control with RadUpload. Do we have any option to select multiple files in RadUpload? Make sure I don't want to browse mutiple times and select individual file. If anyone have solution for that, please reply ASAP.
Thanks,
Pratik.