Telerik Forums
UI for ASP.NET AJAX Forum
8 answers
128 views
Hello,

I'm hoping to use the SocialShare control in a client-side setting where I could set the url from javascript.  Is this possible now?  I didn't see any documentation in that regard.  If not, is this something that is planned?

Thanks,
Chris
Alin
Top achievements
Rank 1
 answered on 10 Jan 2012
2 answers
74 views
Hello,

I have a scenario in which is necessary to set the url for social share control via client side! It's about a RadRotator which shows images ( I got the example from the demo section with ImageGallery) and since the rotator has client side events when changing item, I would like to set the url for the social share control on the OnClientItemShown event of the rotator control. Is this possible? Thx a lot. 
Svetlina Anati
Telerik team
 answered on 10 Jan 2012
6 answers
493 views
Hello!

I'm trying to use GridCalculatedColumn in order to show concatenated and formatted values.

I need to show StartTime and EndTime as 08:45 AM - 01:45 PM
Similarly, Rate and RatePlus as £15.50 + £14.00

Successfully doing this will help me eliminate two/four columns. However, formatting is utmost necessary. My web applications culture is set to UK in web.config. The data source being fed to the grid is coming through LINQ -> DataTable -> Grid. Commenting these two GridCalculatedColumn makes everything run just fine. However, with these two columns, I get the following error upon Databind():
Expression of type 'System.Nullable`1[System.DateTime]'
cannot be used for parameter of type 'System.Object'
of method 'System.String Concat(System.Object, System.Object)'

I have confirmed that no null value is present in the result of the query.

<telerik:GridCalculatedColumn
    UniqueName
="Timings"
    HeaderText
="Timings"
    DataType
="System.DateTime"
    DataFields="StartTime, EndTime"
    Expression
='{0} + "&nbsp;" + "-" + ";&nbsp;" + {1}'
    DataFormatString="{0:hh:mm tt}" />

<telerik:GridCalculatedColumn
    UniqueName
="Rates"
    HeaderText
="Rates"
    DataType
="System.Decimal"
    DataFields="Rate, RatePlus"
    Expression
='{0} + "&nbsp;" + "+" + ";&nbsp;" + {1}'
    DataFormatString="{0:C2}" />

Any help will be highly appreciated.

Regards.
Shinu
Top achievements
Rank 2
 answered on 10 Jan 2012
1 answer
72 views
Hi
I have a problem with the RadAsyncUpload control. Because I try to use in SharePoint 2010 does not work.
When I use sends me the following error message HTTP: Error code is: 404.
 
If I use the same control outside of SharePoint it works succesfully.

If you need more detail let me Know

Thanks All
Kalina
Telerik team
 answered on 10 Jan 2012
1 answer
76 views
Hi, We're using Telerik ASP.NET AJAX (2011 Q2) in our product. in some pages we need to refresh the RadGrid by timer every 10 sec. As it's described in "Ajax / Ajaxify Timer" demo example in here . The example just shows a grid without any client side grid features like resizing columns, regrouping, selecting rows, sorting, etc. We need these features in our application. So we enabled many of them . But if during any client side activity in grid (like resizing columns) the  timer fires to refresh the grid, the ajax request initiated by timer causes error  inside one of  Telerik WebResource .axd dynamic files and then the grid keeps to raise more errors or fails to continue to work and freezes. This is one of those errors but we get many different error types too:
Microsoft JScript runtime error: '_events' is null or not an object

It looks like DOM object gets corrupted after a timer ajax call during any client side function in RadGrid and it fails to handle error. Is there any way to recognize client activity before timer ajax request?

This is very important issue in our product and needs to be fixed as soon as possible. Please Help.
Veli
Telerik team
 answered on 10 Jan 2012
7 answers
72 views
Im creating a delete column in the codebehind like this:
if (hasRWPerm && UserSettings.CheckSetting(Page_UserSettings, Page_Cab.CabRealName, "deleteFolders"))
{
    #region delete_folder
    GridClientDeleteColumn btnDelete = new GridClientDeleteColumn();
    btnDelete.ButtonType = GridButtonColumnType.LinkButton;
    btnDelete.CommandName = DELETE;
    btnDelete.Text = DELETE;
    //btnDelete.HeaderText = "Deleted";
    btnDelete.UniqueName = "deleteRow";
    btnDelete.Resizable = false;
    btnDelete.ShowInEditForm = true;
    btnDelete.ItemStyle.Width = Unit.Pixel(50);
    btnDelete.ConfirmText = "Do you want to delete this folder?";
    RadGridCabFolders.MasterTableView.Columns.Add(btnDelete);
    #endregion
}
it does what it needs to but if I click on my edit column or add a row the width of the delete column changes. I view the source and what I see is the <td  style="width:50px;"> to <td> . Weird? or do you have a clue as to what is going on. Please do just send me to some random code sample, this has always been a waste of time.
Pavlina
Telerik team
 answered on 10 Jan 2012
1 answer
125 views

Hi,

We are currently migrating a conventional ASP.Net application, utilizing Telerik Ajax controls, in MVC. The issue is that we want to achieve exactly the same appearance of the site. So, we are trying to figure out if there is any way to use <telerik:RadColorPicker/> to an MVC application.

 

Regards


Slav
Telerik team
 answered on 10 Jan 2012
5 answers
203 views
Hi,

I would love to generate email reminders based on the reminder settings coming from my RadScheduler.

I imagine this would involved a scheduled application running on my server reading through the appointments in the database and checking for reminders and then sending emails.

Does anyone know of any examples or information available online that would help me develop this ?

Thanks
Sam
sam
Top achievements
Rank 1
 answered on 10 Jan 2012
1 answer
48 views
Here is my situation.

I create a dll file that includes the name WebUserControl "EditRecord" and inside the WebUserControl, there is a RadGrid.

EditRecord is the Embed Resource DLL. At the exit I have this: ExampleCustomModule.dll.
Dll file is saved in the database. When necessary, I made ​​the following code:

Dim assembly As System.Reflection.Assembly = System.Reflection.Assembly.Load(data)
Dim controlType As System.Type = assembly.GetType("ExampleCustomModule.EditRecord")
Dim myControl As Control = DirectCast(Activator.CreateInstance(controlType), Control)

When I check: myControl.Controls.Count it m'inidique I 0 control.

I'm putting as much control, there is nothing. I also try with: LoadControl (controlType, Nothing) but no success.

Have you any idea how I should do to recreate my control but also contains the controls inside?

Is my approach to backup my dll in the database is wrong or should I save in my bin?
Radoslav
Telerik team
 answered on 10 Jan 2012
2 answers
71 views

When i click Edit Button in the radgrid and after edit is done when i click the Update or save button the system will check the list of existing tags to make sure the edited tag name does not already exist. This check will look at the exact name of all existing tags for that client and NOT be case sensitive. 

If the edit being saved already exists, then a message will appear in red next to the tag name that says “The name you are trying to use already exists.  No change has been made to your tag name.”  The tag they tried to edit will still be in the tag list but with the original name.

How to do This?

Naveen kumar
Top achievements
Rank 1
 answered on 10 Jan 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?