Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
109 views
I found a KB article on how to print the content of a RadToolTip (http://www.telerik.com/support/kb/aspnet-ajax/tooltip/print-radtooltip-content.aspx), but I can't get this sort of functionality to work with the RadToolTipManager.

I'm using the manager because I have a GridView that I've got a "details" column in - this shows a tooltip with a user control, i want to be able to print just the contents of the user control.  Please provide assistance in doing so.
Svetlina Anati
Telerik team
 answered on 12 Jan 2011
1 answer
94 views
I've got a simple user control which contains a Rad Combo Box, and the Combo has a Rad Tooltip attached.

The UC is then placed inside another tooltip within another form and opened when a button is pressed.  However when I click into the combo in the UC with the tooltip the tooltip with the UC closes...

Any advice anyone...!???

Cheers
Cliff
Svetlina Anati
Telerik team
 answered on 12 Jan 2011
1 answer
111 views
We have been using version 2010.3.1109.35 since 2010-11-11 without problems, upgraded to version 2010.3.1215.35 on 2010-12-25. The RadAsyncUpload is now failing to deserialize our custom AsyncUploadConfiguration properties.
Sample code below.
ASPX page with the RadAsyncUpload control:
<telerik:RadAsyncUpload runat="server" ID="FilesToUpload" MultipleFileSelection="Automatic"
    HttpHandlerUrl="~/Tracking/FileUpload.ashx" AutoAddFileInputs="true" />

Custom Configuration:
public class CustomConfiguration : AsyncUploadConfiguration
{
    public string UserName { get; set; }
    public long FileNoteID { get; set; }
    public bool SaveContentOnly { get; set; }
}

Initializing configuration in code behind of ASPX page with RadAsyncUpload control
public partial class UploadFiles
{
    protected override void OnInit(EventArgs e)
    {
        base.OnInit(e);
CustomConfiguration config = FilesToUpload.CreateDefaultUploadConfiguration<CustomConfiguration>();
            config.FileNoteID = 1234; // sample ID
            config.UserName = "michael"; // sample user name
            config.SaveContentOnly = true;
            FilesToUpload.UploadConfiguration = config;
    }
}

Code behind of Http handler, our additional properties (UserName, FileNoteID) are not being deserialized here anymore.
public class FileUpload : AsyncUploadHandler
{
    protected override IAsyncUploadResult Process(UploadedFile file, HttpContext context, IAsyncUploadConfiguration configuration, string tempFileName)
    {
        CustomConfiguration config = configuration as CustomConfiguration;
        if (config != null)
        {
            // UserName & FileNoteID come through as "" and 0 with latest release.
            DoSomething(config.UserName, Config.FileNoteID);
        }
    }
}

Can someone please let me know how to resolve this issue? Do we need to change something in our web.config?

Thanks
Genady Sergeev
Telerik team
 answered on 12 Jan 2011
1 answer
376 views
I need to trigger ajaxRequest using JavaScript. JavaScript will pass additional information/parameter (string) that will be used by ajaxRequest to load/get additional information. Can you provide an example?
Prangadj
Top achievements
Rank 1
 answered on 12 Jan 2011
2 answers
103 views
Hi,

I have a Tooltiptified grid:

http://www.altecparts.nl/shop/search.aspx?zoek=brander

Tooltips filled on ItemDataBound with
Me.RadToolTipManager1.TargetControls.Add(target.ClientID, (TryCast(e.Item, GridDataItem)).GetDataKeyValue("ProductCode").ToString(), True)


But when the Grid has no results like on

http://www.altecparts.nl/shop/search.aspx?zoek=aaa

The Tooltips are picked up by the product tree on the left and the RadMenu on top of the page.

Any suggestions?

Marc
Svetlina Anati
Telerik team
 answered on 12 Jan 2011
1 answer
69 views
Hallo,
I have problem with spaces in urlI path.
I have Rad Grid with columns like this:
<telerik:GridHyperLinkColumn DataTextFormatString="Adres" ItemStyle-ForeColor="Orange"
 DataNavigateUrlFields="s_adresar" UniqueName="s_adresar" DataNavigateUrlFormatString="file://///SomeServer/Some Directory With Spaces/{0}" Target="_blank" HeaderText="Adres" DataTextField="s_adresar">
 </telerik:GridHyperLinkColumn>

I would like to open file from shared file system in Windows Explorer after click on link in RadGrid, but it doesn't work.
Right path to directory is //SomeServer/Some Directory With Spaces/
but rendered path is  //SomeServer/Some%20Directory%20With%20Spaces/
and  this path is for Windows Explorer unknown. I tried to replace spaces in path ( in DataNavigateUrlFormatString property) with some mark entity but without success.
Can anyone help me  please?
Thanks
Prangadj
Top achievements
Rank 1
 answered on 12 Jan 2011
6 answers
71 views
Hi,

I'm having trouble using IE6 when the Paste command is executed through the context menu but using the shortcut key CTRL+V works well and sees no problem with it. This problem occurs in all of our machines which have an IE6 installed including my development machine.I've tested this in Windows XP SP2 and Windows XP SP3. I'm using Telerik Version 2010.

To repro:
1. Copy an item(text/word)
2. Select a text in the editor (highlight a text)
3. Paste the copied content in the selected text through context menu

Do this several times(step 2-3)


Thank you and best regards,
Bong
Rumen
Telerik team
 answered on 12 Jan 2011
0 answers
74 views
hi
how i can show some grid items horizontally and some other vertically in grouped grid?
i want to show grouped items horizontally and other items vertically.
an image that define my purpose attached.
thanks in advance
m
Top achievements
Rank 1
 asked on 12 Jan 2011
5 answers
311 views
I'm using a PageMethod to update grid data on the server-side and then rebinding on the successful callback. During the PageMethod I have a LoadingPanel shown which I hide on the successful callback. However, the rebind also takes some time and I would like to hide the LoadingPanel AFTER the rebind is complete. Is there any way to have a callback function for rebind()? Or maybe some other way to know when it's complete? At the moment, I'm using a setTimeout to give it an arbitrary second or two to complete (which is not, obviously, always correct)
Veli
Telerik team
 answered on 12 Jan 2011
1 answer
40 views
I have a user control, DuplicateVinDisplay.ascx, which has a rad grid wtih a linkbutton column. The linkbutton column, when clicked, will call a javascript function that will open a radwindow and display another page. This all was working perfectly when I loaded the user control on page load.

But, I need to display the user control when the user tabs out of a textbox on the page the user control is hosted on. So, I added the following to my RadAjaxManager on the hosting page:

 

<telerik:AjaxSetting AjaxControlID="VINTextBox">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="DuplicateVINDisplay1" LoadingPanelID="defaultRadAjaxLoadingPanel"/>
</UpdatedControls>
</telerik:AjaxSetting>

 

This does what I need it to and the user control displays properly when the user tabs our of the VINTextBox control. However, now when I click the linkbutton in the grid, I get a javascript Object Expected error. I have even modified the javascript funtion that is being called to simply be an alert('hi'); but to no avail.

What might I be missing here?
Tsvetina
Telerik team
 answered on 12 Jan 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?