<
radGrid:RadGrid ID="gdViewOrders" runat ="server" AutoGenerateColumns="false" AllowMultiRowSelection="false" EnableAJAX="true" AllowMultiRowEdit="true" OnEditCommand="gdViewOrder_EditMode" OnUpdateCommand="gdViewOrder_UpdateMode">
<MasterTableView EditMode="InPlace" DataKeyNames="OrdID">
<Columns>
<radGrid:GridEditCommandColumn UniqueName="EditCommandColumn"></radGrid:GridEditCommandColumn>
<radGrid:GridBoundColumn HeaderText="Order ID" DataField="OrdID" ReadOnly="true"></radGrid:GridBoundColumn>
<radGrid:GridBoundColumn HeaderText="Name" DataField="CustName" UniqueName="Name"></radGrid:GridBoundColumn>
</Columns>
</MasterTableView>
</radGrid:RadGrid>
protected
void gdViewOrder_UpdateMode(object sender, Telerik.WebControls.GridCommandEventArgs e)
{
GridEditableItem editedItem = (GridEditableItem)e.Item;
int id = Convert.ToInt32(editedItem.GetDataKeyValue("OrdID"));
string objName = (editedItem["Name"].Controls[0] as TextBox).Text;
bool response = objOrders.UpdateOrder(id, objName, objAddress.Text, objSeller.Text, Convert.ToInt32(objStatus.Text));
lblMessage.Text = "Order has not been updated successfully.";
}
Hi,
Currently we are using RADEDITOR control with the version of 5.3.2.0.By using this control we are adding the reports and storing in the sharepoint publishing page.So the report is storing the following format in the Sharepoint list.
<div><iframe id="iframe_1" src="http://webURL"></iframe></div>
<p>RAD EDITOR CONTROL<br>\r\n<br>\r\nRAD EDITOR CONTROL</p>
Now my requirment is i want to chage the src value from http into https under iframe control.Here i have more than
500 pages with the src value of http.So to update the value for each page,i have created separate utiltiy and getting the src value of the page.If the src value has http://,replacing with https:// under iframe control.Its updating fine in the Sharepoint List.
But the problem is when you update with <iframe> control,the <iframe> control is storing as Empty.When i fetch the item again am getting the folllowing format.
<div> </div>
<p>RAD EDITOR CONTROL<br>\r\n<br>\r\nRAD EDITOR CONTROL</p>
Content is storing (RAD EDITOR CONTROL) fine with out any issues.But am not sure Why its not updating with IFrame control in SPListItem update.Please let me know.Wating for your reply
With Regards,
Rajesh