if (!clickCalledAfterRadconfirm) { eventArgs.set_cancel(true); lastClickedItem = eventArgs.get_item(); if (docno!='' && docno!=null && docno!=undefined && oppno!='' && oppno!=null && oppno!=undefined) radconfirm("Do you want to update to CRM Opportunity: <span style='color:red'>" + oppno + " </span>? <br/>", confirmCallbackFunction,450,50,"","Update to CRM");
//i wann do this way
if yes then
do func1
else
if confirm("Do you want to do func2?") then
do func2
////////////////////////////////////////////////// else radalert("<span style='color:red'> Document No. or Opportunity is empty.<br/>" + "You cannot use Update-to Crm function.<span style='color:red'>",350,80,"Update to CRM"); }I am firing the following function with a tab selection and collapse a RadPane. But then I cannot simply expand it using mouse. I can only expand it again programmatically.
function CollapsePane(paneId)
{
var splitter = $find("<%= RadSplitter1.ClientID %>");
var pane = splitter.getPaneById(paneId);
if (pane)
{
pane.collapse();
}
}
Also I need to know how to change RadPane to a specific size
(in javacript).
I expect an answer ASAP.
Thanks!!
<?xml version="1.0"?> <configuration> <configSections> <sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <section name="SLSCommunicationPortal.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false"/> </sectionGroup> </configSections> <connectionStrings> <add name="CommonLogconnectionString" connectionString="Data Source=xxxxx;Initial Catalog=xxxx;Integrated Security=SSPI;Connect Timeout=120;Pooling=true; Min Pool Size=5;" providerName="System.Data.SqlClient" /> <add name="xxxx" connectionString="Data Source=xxxxx;Initial Catalog=xxxxx;Integrated Security=SSPI;Connect Timeout=120;Pooling=true; Min Pool Size=5;" providerName="System.Data.SqlClient" /> </connectionStrings> <appSettings> <add key="xxxxx" value="xxxxx"/> <add key="xxxxx" value="xxxxx" /> <add key="LogDir" value="xxxxx"/> <add key="Telerik.Skin" value="Office2010Blue"/> <add key="Telerik.ScriptManager.TelerikCdn" value="Disabled"/> <add key="Telerik.StyleSheetManager.TelerikCdn" value="Disabled"/> </appSettings> <system.web> <compilation debug="true" targetFramework="4.0"> <assemblies> <add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/> <add assembly="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> <add assembly="System.Speech, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> </assemblies> </compilation> <pages> <controls> <add tagPrefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI"/> </controls> </pages> <httpHandlers> <add path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" validate="false"/> <add path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" validate="false"/> <add path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" validate="false"/> <add path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" validate="false"/> <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false"/> </httpHandlers> <httpModules> <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule"/> <add name="RadCompression" type="Telerik.Web.UI.RadCompression"/> </httpModules> </system.web> <system.webServer> <validation validateIntegratedModeConfiguration="false"/> <modules runAllManagedModulesForAllRequests="true"> <remove name="RadUploadModule"/> <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule" preCondition="integratedMode"/> <remove name="RadCompression"/> <add name="RadCompression" type="Telerik.Web.UI.RadCompression" preCondition="integratedMode"/> </modules> <handlers> <remove name="ChartImage_axd"/> <add name="ChartImage_axd" path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" preCondition="integratedMode"/> <remove name="Telerik_Web_UI_SpellCheckHandler_axd"/> <add name="Telerik_Web_UI_SpellCheckHandler_axd" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" preCondition="integratedMode"/> <remove name="Telerik_Web_UI_DialogHandler_aspx"/> <add name="Telerik_Web_UI_DialogHandler_aspx" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" preCondition="integratedMode"/> <remove name="Telerik_RadUploadProgressHandler_ashx"/> <add name="Telerik_RadUploadProgressHandler_ashx" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" preCondition="integratedMode"/> <remove name="Telerik_Web_UI_WebResource_axd"/> <add name="Telerik_Web_UI_WebResource_axd" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" preCondition="integratedMode"/> </handlers> </system.webServer> <applicationSettings> <SLSCommunicationPortal.Properties.Settings> <setting name="xxxxxx" serializeAs="String"> <value>xxxxx</value> </setting> </SLSCommunicationPortal.Properties.Settings> </applicationSettings> </configuration>Hi,
I was watching the following video on File Uploaded in Silverlight for SharEPoint 2010. I have few queries on that:
http://tv.telerik.com/watch/silverlight/video/telerik-silverlight-controls-and-sharepoint-2010-part-5
1. It is mentioned in the video that the ScratchArea folder is not required to chunk the files if we have enabled RBS.
How it differs, where does the chunk data of the large file goes if we are not using / creating the folder.
2. If i have a scenario where i am using the RBS feature of SharePoint 2010 only for files more than 10MB, in such a scenario how can i or where to put the if condition that if the file is less than 10 MB use the ScracthArea folder to chunk the large file . How we can achieve such a scenario?
3. In the video there is a mention about the this.Request.Form["RadUAG_fileName"]. Now if the file is uploaded from 3-4 browsers by different users, how the file names will be?
4. If we are enabling the RBS , whether the uploadhandler.ashx is required. How different the project (Server Project-SharePoint Empty Project) will be in structure if we are using of have a facility to switch RBS and non-RBS implementation depending upon the size of the file.
5. this video shows the silverlight webpart which is deployed to the SharePoint Page to upload the file. What if i have a silverlight application which is out of SharePoint environment, hosted in some other server. I want to upload a huge file from the silverlight application to the SharePoint Document Library.
Thanks in advance.
Veena R
<
telerik:RadTreeList ID="RadTreeList1" runat="server" DataKeyNames="ID" ParentDataKeyNames="PID"
OnNeedDataSource="RadTreeList1_NeedDataSource" AutoGenerateColumns="false" HeaderStyle-Font-Bold="true" AllowMultiItemEdit= "true" EditMode="InPlace">
<Columns>
<telerik:TreeListBoundColumn DataField="ID" HeaderText="ID" UniqueName="ID" Visible="false" ReadOnly="true">
</telerik:TreeListBoundColumn>
<telerik:TreeListBoundColumn DataField="PID" HeaderText="PID" UniqueName="PID" Visible="false" ReadOnly="true">
</telerik:TreeListBoundColumn>
<telerik:TreeListBoundColumn DataField="Name" HeaderText="Name" UniqueName="Name" ItemStyle-Width="150px" HeaderStyle-Width="150px" ReadOnly="true">
</telerik:TreeListBoundColumn>
<telerik:TreeListBoundColumn DataField="Limit" HeaderText="Limit" UniqueName="Limit" ItemStyle-Width="150px" HeaderStyle-Width="150px">
</telerik:TreeListBoundColumn>
<telerik:TreeListBoundColumn DataField="Expense" HeaderText="Expense" UniqueName="Expense" ItemStyle-Width="150px" HeaderStyle-Width="150px" ReadOnly="true">
</telerik:TreeListBoundColumn>
</Columns>
</telerik:RadTreeList>
protected void RadTreeList1_NeedDataSource(object sender, TreeListNeedDataSourceEventArgs e)
{
tbl =
new CounterPartyHierarchy.CounterPartyHierachyTableDataTable();
tbl.ReadXml(
@"..\hierarchy.xml");
RadTreeList1.DataSource = tbl;
}
protected void btnEdit_Click(object sender, EventArgs e)
{
foreach (TreeListDataItem item in RadTreeList1.Items)
{
item.Edit =
true;
}
}
protected void btnUpdate_Click(object sender, EventArgs e)
{
Hashtable table = new Hashtable();
foreach (TreeListDataItem item in RadTreeList1.EditItems)
{
string limit= (item.GetColumnEditor("Limit") as TreeListTextBoxColumnEditor).TextBoxControl.Text;
}
}