Telerik Forums
UI for ASP.NET AJAX Forum
6 answers
165 views
Hi,

I had a form for eg. let say userprofile, In that i have to create new users. So the user name should be unique. I had placed required field validator for  validating mandatory fields (ie. Fields should not be empty while insert). I have checked with sql query for user name duplication. Now i want display a message if the user name already exist. I need your help in this regards.

Thanks & Regards
Kannan
Naunton
Top achievements
Rank 1
 answered on 12 Jan 2011
1 answer
66 views
Hi

Can we place image right side to the Text in a RadTab? is it possible?
Shinu
Top achievements
Rank 2
 answered on 12 Jan 2011
3 answers
108 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
91 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
108 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
367 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
100 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
68 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
66 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?