Telerik Forums
UI for ASP.NET AJAX Forum
11 answers
324 views
Hi there,

I currently have a few controls that is embedded inline in my page and it being referenced in the code behind.  I used a RadToolTip control to display the controls in a "popup" like window.  This works great, however, I've read that there is no support for a ToolTip inside a ToolTip.  Looking into it further, it was suggested that I used a RadWindow or RadDock.

A RadWindow does not work since the ContentTemplate cannot be referenced inside the parent page's code behind.

A RadDock shows up, however, is it possible to show/hide it like a popup?

Any other suggestions to implement an inline "modal popup"?

Thanks
John
Slav
Telerik team
 answered on 16 Nov 2012
1 answer
60 views
Hi,
We have an intranet application which is using Rad controls including the DatePicker. This application is hosted on SharePoint (asp.net usercontrols wrapped loaded via webparts) and standard browser is now IE8 (upgraded from IE6 - where the RadDatePicker was working fine).

On IE8, when users click on the image next to the DatePicker text box to open calendar; it results in an error

error when page is using asp.net ScriptManager on the page:

 

<P>Webpage error details</P>
<P>User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2; WOW64; 
Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; 
.NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)<BR>Timestamp: Tue, 13 Nov 2012 
06:47:37 UTC</P>
<P><BR>Message: Invalid argument.<BR>Line: 179<BR>Char: 10<BR>Code: 0<BR>URI: <A 
href="http://*****/ScriptResource.axd?d=fLLEnEfYpOt4GMIbTZNyqmhk-31e3wJHybVyNYzLJv27gWqDUqa--SzYCC1OTlKNDzdpjDDRmKwqltaEyEHFzydCk7G3stc-u1jnR-wmFZKFiKJBgmJKvIJUh5FjhwyT0SbSsm6GO_1HAiYZ0VU9LAj51xk6CViN2qubb57KTvUgelnGIpUK5PxUtxWGwUYA5RKcKg2&t=5e2e7a27">http://*****/ScriptResource.axd?d=fLLEnEfYpOt4GMIbTZNyqmhk-31e3wJHybVyNYzLJv27gWqDUqa--SzYCC1OTlKNDzdpjDDRmKwqltaEyEHFzydCk7G3stc-u1jnR-wmFZKFiKJBgmJKvIJUh5FjhwyT0SbSsm6GO_1HAiYZ0VU9LAj51xk6CViN2qubb57KTvUgelnGIpUK5PxUtxWGwUYA5RKcKg2&t=5e2e7a27</A></P>

error when page is using Telerik ScriptMaanger (with EnableScriptCombine="true"):

<P> </P>
<P>Webpage error details</P>
<P>User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2; WOW64; 
Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; 
.NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)<BR>Timestamp: Tue, 13 Nov 2012 
06:32:08 UTC</P>
<P><BR>Message: Invalid argument.<BR>Line: 8749<BR>Char: 10<BR>Code: 0<BR>URI: 
<A 
href="http://*****/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d3.5.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3a55ab6258-ebc5-40d7-ae7b-b95de6f72668%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2010.3.1109.35%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3a62e881c6-518e-447d-b6e7-1af83cb2d164%3a16e4e7cd%3af7645509%3a24ee1bba%3af46195d3%3a58366029%3a8674cba1%3ab7778d6c%3ac08e9f8a%3aa51ee93e%3a59462f1">http://*****/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d3.5.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3a55ab6258-ebc5-40d7-ae7b-b95de6f72668%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2010.3.1109.35%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3a62e881c6-518e-447d-b6e7-1af83cb2d164%3a16e4e7cd%3af7645509%3a24ee1bba%3af46195d3%3a58366029%3a8674cba1%3ab7778d6c%3ac08e9f8a%3aa51ee93e%3a59462f1</A></P>


Previously on IE6, there has not been any issues.
Using 2010.3.1109.35
Web.config has the usual http handlers in place (Telerik.Web.UI.DialogHandler.aspx, Telerik.Web.UI.SpellCheckHandler.axd, Telerik.Web.UI.WebResource.axd)

Maria Ilieva
Telerik team
 answered on 16 Nov 2012
16 answers
208 views
Hi,

Below is a snippet of aspx code that should create a RadSlider with a width of 600px. However the rendered slider seems to be rendered with a default width of about 200px.

<

telerik:RadSlider runat="server" ID="VideoSlider" Width="600" Orientation="Horizontal" Skin="WebBlue" TrackMouseWheel="true" Value="0"/>

Is there any reason this would not be working? I can change this width via CSS but would prefer if this could be rectified?

Thanks,
Sunil

 

Slav
Telerik team
 answered on 16 Nov 2012
1 answer
58 views
Hello

Would you please tell more about enableing viewsate ?if I set it to false will it prevent spams????because i have used captcha in my pages but again i have spams?!!!

Please help me


BestRegards Neda
Slav
Telerik team
 answered on 16 Nov 2012
1 answer
62 views
Hi there.
Although I'm certainly not new to programming, I am having some difficulty implementing RadScheduler in VB asp.net for client/server use.
I'm hoping that you are able to point me in the right direction, either via some tutorial or something similar. I'm not actually seeking a complete answer as I'd like to try to understand the workings a little better.

Basically I am trying to provide a staff planner application (via the web), which will contain a single column of staff (users) down the left hand side in rows. The month view across in columns will contain their movements, and allow us (or them) to allocate staff to different projects and tasks.
Our line of business is very dynamic so this will be referred to and updated very frequently.

Many thanks in advance for any pointers you are able to provide.

Simon.
Boyan Dimitrov
Telerik team
 answered on 16 Nov 2012
4 answers
352 views
Is there any way we can show the loading animation, which comes during load on demand, through javascript functions. My requirement is to create nodes at the client side and during that time wanted to show the same loading animation icon while the nodes are geting created in the javascript function.
Plamen
Telerik team
 answered on 16 Nov 2012
5 answers
285 views
I've got a question regarding the Telerik RadGrid control client side binding. I want to populate grid with the cities on the Client Side. I've got a object City, which has a property Country: 

[DataContract]
[KnownType(typeof(Country))]
public class City
{
    [DataMember]
    public virtual string CityCode { get; set; }
 
    [DataMember]
    public virtual string CityName { get; set; }
 
    [DataMember]}
    public virtual Country Country      {  get; set;           
    }
}
 
[DataContract]
public class Country
{
    [DataMember]
    public virtual string CountryCode { get; set; }
    [DataMember]
    public virtual string Iso2Code { get; set; }
    [DataMember]
    public virtual string CountryName { get; set; }
    [DataMember]
    public virtual char RDC { get; set; }
 
}

I retrieve this data as a JSON object to the client side using the JQuery Ajax and WCF. and then I bind it to the grid: 

rgCity.set_dataSource(dataItem);
rgCity.dataBind();
Here are the Columns definition for the grid: 

<Columns>
    <telerik:GridBoundColumn HeaderText="City Code" DataField="CityCode" MaxLength="3">     </telerik:GridBoundColumn>
    <telerik:GridBoundColumn HeaderText="City Name" DataField="CityName"></telerik:GridBoundColumn>
    <telerik:GridBoundColumn HeaderText="Country Code" DataField="CountryCode" MaxLength="2"></telerik:GridBoundColumn>
</Columns>
The problem is I'm not getting the Country Code column populated with the data. I think the problem is in data binding, but I'm not sure if is it possible to bind a complex objects. I think should be something like that: 
<telerik:GridBoundColumn HeaderText="Country Code" DataField="City.CountryCode" MaxLength="2"></telerik:GridBoundColumn>

I appreciate any help solving that issue! 



Radoslav
Telerik team
 answered on 16 Nov 2012
1 answer
67 views
HI,

I have a page with 3 radgrids.Each exactly the same.

The first grid gives me a value in the SelectedValue property when a row is selected. The second grid, is an exact copy of the first grid does not give a value in the selectedvalue property.

My code on postback:

        If Page.IsPostBack = True Then
            'CLick on Branch 
            If CType(Request.Form("__EVENTTARGET"), String) = "eStatsDetail1$RadGrid1" Then
                Dim BranchNameString As String
                BranchNameString = RadGrid1.SelectedValue
                Session("BRANCHNAME") = RadGrid1.SelectedValue
                SqlDataSource2.SelectParameters("@P_BRANCHNAME") = New Web.UI.WebControls.Parameter("@P_BRANCHNAME", DbType.String, BranchNameString)
                RadGrid4.Rebind()
            End If


            'User Clicks on Employee
            If CType(Request.Form("__EVENTTARGET"), String) = "eStatsDetail1$RadGrid4" Then
                BindBranchGrid()
                Dim EmployeeNameString As String
                EmployeeNameString = RadGrid4.SelectedValue 'This is always empty
                Session("EMPLOYEENAME") = RadGrid4.SelectedValue
                SqlDataSource4.SelectParameters("@P_EMPLOYEENAME") = New Web.UI.WebControls.Parameter("@P_EMPLOYEENAME", DbType.String, EmployeeNameString)
                RadGrid3.Rebind()
            End If
        End If
Tsvetoslav
Telerik team
 answered on 16 Nov 2012
3 answers
101 views
Hi,

I have RadListboxitems with context menu, after i selected one listboxitem now trying to invoke context menu for another item throws script error says "Microsoft JScript runtime error: 'this._dragSelector' is null or not an object".  Am I missing any properties?

Listbox
-----------------
<telerik:RadListBox runat="server" Skin="Office2010Blue" EnableDragAndDrop="false" ClientIDMode="Static" ID="Listbox"
                        DataTextField="category" DataValueField="categoryid" OnClientContextMenu="showContextMenu" 
                        AllowAutomaticUpdates="false" AllowDelete="false" AllowReorder="false" AllowTransfer="false" SelectionMode="Single"
                            Width="200px" Height="350px" OnClientSelectedIndexChanged = "Listbox_OnClientSelectedIndexChanged">
</telerik:RadListBox>

Contextmenu
------------------------
<telerik:RadContextMenu ID="Contextmenu" runat="server" Skin="Office2010Blue">
                       <Items>
                           <telerik:RadMenuItem Text="Add"></telerik:RadMenuItem>
                           <telerik:RadMenuItem Text="Edit "></telerik:RadMenuItem>
                           <telerik:RadMenuItem Text="Delete"></telerik:RadMenuItem>
                       </Items>
 </telerik:RadContextMenu>


Thanks,
Nagarajan.
Nagarajan
Top achievements
Rank 1
 answered on 16 Nov 2012
3 answers
507 views
I have a Radgrid and its columns are dynamically built at run time as it can have one to six columns.
It also has EditColumn and GridButton column and allowFiltering is set tot True.

I have two questions:

1)The radgrid seems to allocate equal width to each column.
If I try to allocate the width for editcolumn and Gridbutton column, the header/filter row doesnt seem to change accordingly.
How do I align the header/filter row with the rest of the rows?

2) As there are no templates used for columns, the edit buttons are displayed on the left side of the grid.
How can I move them to the right?



Shinu
Top achievements
Rank 2
 answered on 16 Nov 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?