Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
161 views
Hi,

I am searching for this functionality from many days. Radgrid provides the functionality to select multiple rows when I set AllowMultiRowSelection = true.

I can select multiple rows by holding shift or control key and click which I dont want. I want to use either by using shift key or control key. Is there any workaround for this?

Regards,
Aradhya
Shinu
Top achievements
Rank 2
 answered on 03 Oct 2011
1 answer
125 views
Is there no autobinding for drag\drop using an OpenAccess datasource or am I just missing the property\setting?

If there isn't can this be a PITS issue please :)  Way easier like the RadTreeList to drag\drop than having to manually handle OnDrop
Nikolay Tsenkov
Telerik team
 answered on 03 Oct 2011
3 answers
202 views
We've uninstalled Telerik RADEditor from our Sharepoint 2010 environment. The features were deactivated and uninstalled. The solution was retracted and uninstalled. But we still see remnants of the RADEditor on one of our front ends. This is the message we receive when we try to add a new task to a list:

Server Error in '/' Application.

Could not find a part of the path 'c:\_wpresources\RadEditorSharePoint\5.5.1.0__1f131a624888eeed\Resources\ListToolsFile.xml'.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.IO.DirectoryNotFoundException: Could not find a part of the path 'c:\_wpresources\RadEditorSharePoint\5.5.1.0__1f131a624888eeed\Resources\ListToolsFile.xml'.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[DirectoryNotFoundException: Could not find a part of the path 'c:\_wpresources\RadEditorSharePoint\5.5.1.0__1f131a624888eeed\Resources\ListToolsFile.xml'.]
   System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +239
   System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy) +2580
   System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy) +138
   System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize) +94
   System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials credentials) +121
   System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn) +65
   System.Xml.XmlTextReaderImpl.OpenUrlDelegate(Object xmlResolver) +76
   System.Threading.CompressedStack.runTryCode(Object userData) +118
   System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData) +0
   System.Threading.CompressedStack.Run(CompressedStack compressedStack, ContextCallback callback, Object state) +122
   System.Xml.XmlTextReaderImpl.OpenUrl() +5027836
   System.Xml.XmlTextReaderImpl.Read() +152
   System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) +165
   System.Xml.XmlDocument.Load(XmlReader reader) +134
   System.Xml.XmlDocument.Load(String filename) +95
   Telerik.Web.UI.RadEditor.get_ToolsFileContent() +331
   Telerik.Web.UI.ToolsFileLoader.LoadColors(EditorColorCollection colors) +67
   Telerik.Web.UI.RadEditor.LoadToolsFile(Boolean loadOnlyEmptyCollections) +179
   Telerik.SharePoint.RadTextField.OnLoad(EventArgs e) +65
   System.Web.UI.Control.LoadRecursive() +66
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2428


Version Information: Microsoft .NET Framework Version:2.0.50727.4961; ASP.NET Version:2.0.50727.4955 


Where do we remove the references so this doesn't appear? I don't see any references in the master pages or web.config. Any help is appreciated.

Thanks!
Stanimir
Telerik team
 answered on 03 Oct 2011
1 answer
83 views
Hi Telerik,

On clicking on Rating i need to display a radwindow or a popup with a textbox and button in it,a little bit similar to the one that you have given in your demo.http://demos.telerik.com/aspnet-ajax/rating/examples/rateandleavecomment/defaultcs.aspx.

Thanks,
Praveen
Slav
Telerik team
 answered on 03 Oct 2011
1 answer
81 views
I noticed that when I use the Telerik controls it adds a bunch of Http handlers and http modules, including a RADCompression one.  Can I assume the RAD compression handler compresses the AJAX controls (.axd files)?
Johny
Top achievements
Rank 1
 answered on 03 Oct 2011
7 answers
126 views
Hi all,

I have found out that when my data for x axis has mixed string and int values (even though they come in as "strings'" from the DB), I get an exception "Input string was not in a correct format." Looking at the call stack I see that it fails converting ToDouble.

Do you know any workarounds?

Note, this is a generic/dynamic solution, so I don't know what kind of data comes in. I allow users to select fields on the fly which they want to display on the chart. Then, I have code to populate the grid:

qbChart.Series.Clear();
t
his.qbChart.DataGroupColumn = this.ddlGroup.SelectedValue;
this.qbChart.PlotArea.XAxis.DataLabelsColumn = this.ddlX.SelectedValue;
sdsResults.ConnectionString = cm.css.ConnectionString;
sdsResults.SelectCommand = SQLString;             
this.qbChart.DataBind();

I would like to stick with sql datasource. IAlso, I do not have an option to convert values to int in DB.

Thank you.
Yavor
Telerik team
 answered on 03 Oct 2011
1 answer
123 views
Hi everybody

Can you please tell me how to fix the width of  columns.I have a radgrid.Coumns will be added to the existing grid depending on the selection in the radcomobobox.When I treid to add the columns the already existing columns start shriking .how to prevent this?


Thanks & regards
Princia D
Shinu
Top achievements
Rank 2
 answered on 03 Oct 2011
2 answers
77 views
hi,
i wanna know if i can add update/insert/delete functionality to the grid

and if it can genreate automatically, i tried AllowAutomaticUpdates="true" and its dont work


yaniv
Top achievements
Rank 1
 answered on 03 Oct 2011
1 answer
383 views
Hi All,

 I have created a radgrid .Rows inside the radgrid will depend on the selection made in the RadCombobox.So I have placed both Radgrid and  RadCombobox inside the Updateapnel ,because I don't want any postback.But the problems is whenever I change the items in Radcombobox I get Scripting error like "Microsoft JScript runtime error: Sys.InvalidOperationException: Could not find UpdatePanel with ID 'grdCustomerSuppliedRequirementsPanel'. If it is being updated dynamically then it must be inside another UpdatePanel".can you please tell me the solution for this.

Thanks in Advance
Princia D

Princy
Top achievements
Rank 2
 answered on 03 Oct 2011
1 answer
322 views
I am using a class that is derived from the RadGrid...

    public

 

 

class RadGridExport : RadGrid

We are using the native PDF export features of the RadGrid control.  I would like to be able to insert an image (corporate logo) into the beginning of the pdf file (above the data table data).

I found the OnPDFExporting() event and decided to override it and thus access the RawHTML stream. 
I then attempted to add an image to the HTML via the <img> element:

 

 

 

 

 

 

 

protected override void OnPdfExporting(GridPdfExportingArgs e)

 

{

 

 

 

 

base.OnPdfExporting(e);

 

 

 

string newHTML = string.Empty;

 

 

 

string addHTML = string.Empty;

 

newHTML = e.RawHTML;

 

 

//THIS WORKS

 

addHTML =

 

@"<img alt='test' src='../images/corp_logo.gif'/>";

 

 

 

//THIS DOES NOT WORK (where URL is correct and resolvable)

 

addHTML =

 

@"<img alt='test' src='https://mycorp.net/pages/Custom/Images/corp_logo.gif'/>";

 

newHTML = addHTML + newHTML;

e.RawHTML = newHTML;

}

 

 

The issue that I am running into is that the above technique will work as long as I am using a relative path that resolves within the directory structure of the web application / virtual directory.

However, if I used an absolute path (via http:/ or file:/ or even embedded by data:) that I get an error similar to:

"System.SystemException: Error while creating area : Encountered web exception while fetching image from file:///C:/WORKING/MyProject/MyProject.Controls/Test/https://mycorp.net/pages/Custom/Images/corp_logo.gif: The given path's format is not supported."

Even though I have manually coded the src attribute with a absolute path to a URL... the RadGrid appears to resolve to my web apps directory structure.

Is there any way that I can avoid this behavior and have the src attribute work against an absolute?

Or is there another technique or method recommended for adding an image to a PDF file that is being exported?

Thanks,
M.T.



Shinu
Top achievements
Rank 2
 answered on 03 Oct 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?