Telerik Forums
UI for ASP.NET AJAX Forum
8 answers
225 views
if i have a list of elements that display the menu when selected.  When a menu item is selected on the client it fires the server event  OnItemClick="ContextMenuSelected" 

html

<a ondblclick="showMenu(event)">102.</a>

protected

void ContextMenuSelected(object sender, RadMenuEventArgs e)

{

Telerik.Web.UI.

RadMenuItem ItemClicked = e.Item;
System.Diagnostics.Debug.WriteLine("Server event raised -- you clicked: " + ItemClicked.Text);
}

How can I tell which page element the item was selected from.  i want to know that it was 102. that the menu was called from

Thanks,
Chris

Yana
Telerik team
 answered on 15 Feb 2011
9 answers
142 views
Greetings,

is it possible to recognize, whether there is filter applied on a column in case of using IsNull or NotIsNull conditions? I did not succeed to apply background color to filter cell, where filter was on. Or is there another way to differentiate filter cell when filter is used for the column?

Thank you very much.
Igor
Top achievements
Rank 1
 answered on 15 Feb 2011
1 answer
128 views
Hi

How do I transfer items between listboxes server side?
In the page load I want to fill the source listbox and then transfer some items out of it to the destination listbox before it is displayed to the user.
The demos in this thread are of no use to me because I am not using a static list and will not be binding / updating to a datasource directly.

Thanks!
Dimitar Terziev
Telerik team
 answered on 15 Feb 2011
3 answers
407 views
I have an information form that is validated via captcha in my web application which is really important for me.
Captcha's default source link is like this: (mydomain/Telerik.Web.UI.WebResource.axd?type=rca&guid=e0616d29-d122-4be0-9b0f-bd6676a0c15c)

if one of xss attack makes some changes on requested parameter "guid", an empty image returns, and RadCaptcha.isValid is set to false, ok,  but if requested parameter "guid" is set to empty or space character, captcha returns empty and RadCaptha.isValid is set to TRUE.

Example source: (mydomain/Telerik.Web.UI.WebResource.axd?type=rca&guid= )

any ideas? thanks.
Pero
Telerik team
 answered on 15 Feb 2011
3 answers
144 views
Hi Telerik,
    We are using telerik rad editor 5.6.1.0 licensed version. We are facing issues when we add content in the design tab and when try to apply some of the bullet classes from the Apply CSS Drop down.We are facing issues with all the bullet classes and numbered classes for example like ms-rteCustom-Squarebulletlist and also same problem comes with  our custom bullet classes as well.
In the edit page when we try to apply any of the bulleted classes or numbered classes it waits for a long time but no styles get applied.From the telerik support blogs we found that some of the parent CSS may get override with telerik classes, so we have removed parent CSS still we are facing the same issue.I have attached some of the ScreenShots for more clarifications.

Seeking your reply ASAP.Thanks In advance.



With Regards,
Velu Soubramanien
Stanimir
Telerik team
 answered on 15 Feb 2011
6 answers
316 views
Have allowpaging true, just added some command buttons in the layout template. Problem is, when I click a bottom button, Next for example, the page scrolls back down to bottom where the button is clicked. It's in a dnn module so not sure if that has anything to do with it. On a standalone site I don't have this issue with a similar radlistview:

Any ideas how to force it to scroll to the top of the page? javascript window.scrollTo(0, 0); doesn't even do it.

How do you do the Format Code Block snippet anyway?

<div style="float: right; margin-left: 30%;">
                   <asp:Button runat="server" ID="Button1" CommandName="Page" CommandArgument="First"
                       Text="First" Enabled="<%#Container.CurrentPageIndex > 0 %>" />
                   <asp:Button runat="server" ID="Button2" CommandName="Page" CommandArgument="Prev"
                       Text="Prev" Enabled="<%#Container.CurrentPageIndex > 0 %>" />
                   <span style="vertical-align: top; position: relative; top: 4px">Page
                       <%#Container.CurrentPageIndex + 1 %>
                       of
                       <%#Container.PageCount %></span>
                   <asp:Button runat="server" ID="Button3" CommandName="Page" CommandArgument="Next"
                       Text="Next" Enabled="<%#Container.CurrentPageIndex + 1 < Container.PageCount %>" />
                   <asp:Button runat="server" ID="Button4" CommandName="Page" CommandArgument="Last"
                       Text="Last" Enabled="<%#Container.CurrentPageIndex + 1 < Container.PageCount %>" />
               </div>

Pavlina
Telerik team
 answered on 15 Feb 2011
1 answer
143 views
Hi,

In my Rad Grid,for editing & deleting i am using GridEditCommandColumn,GridButtonColumn. I need to set these 2 columns enabled=false after binding data to RadGrid.

Here is my code :
<telerik:GridEditCommandColumn ButtonType="ImageButton" 
                                 HeaderStyle-HorizontalAlign="Left" HeaderText="Edit" 
                                 ItemStyle-HorizontalAlign="Left">
                                 <HeaderStyle HorizontalAlign="Left" />
                                 <ItemStyle HorizontalAlign="Left" />
</telerik:GridEditCommandColumn>
  
<telerik:GridButtonColumn ButtonType="ImageButton" CommandName="Delete" 
                                 ConfirmDialogHeight="100px" ConfirmDialogType="RadWindow" HeaderText="Delete"
                                 ConfirmDialogWidth="220px" 
                                 ConfirmText="Are you sure you want to delete this Indent Item?" ConfirmTitle="Delete" 
                                 HeaderStyle-HorizontalAlign="Left" HeaderStyle-VerticalAlign="NotSet" 
                                 ItemStyle-HorizontalAlign="Left">
                                 <HeaderStyle HorizontalAlign="Left" />
                                 <ItemStyle HorizontalAlign="Left" />
</telerik:GridButtonColumn>
 
How to achieve this requirement.Please help me...

Thanks in advance...
Shinu
Top achievements
Rank 2
 answered on 15 Feb 2011
1 answer
64 views
e.Appointment.ToolTip = e.Appointment.Description;

The above is the current tooltip info included in DataBound the event of my scheduler.  Very basic.

Question:  With a RadToolTipManager already included in the sitewide masterpage what's the easiest approach to customize only the tooltips for the appointments in the scheduler?  We use the RadToolTipManager sitewide for all tooltips.  I've looked at the tooltip scheduler example: http://demos.telerik.com/aspnet-ajax/scheduler/examples/radtooltip/defaultcs.aspx but this doesn't take into account my scenario and was wondering if there is an alternate way which would not be so time consuming.

Thanks in advance!
TR
Svetlina Anati
Telerik team
 answered on 15 Feb 2011
1 answer
274 views
Hey there :)

I'm using Rad Editor 5.2.0.0 with Sharepoint... In some Browser (e.g. IE7) and just on some Sites, the Buttons for the different Design modes are "invisible" but there. If I for example mark the place on the site and press right mouse button and select sth from the context menu, I can see the buttons and also the text along. I don't know how to start looking for any solution and hours of googleing haven't helped. Here are some additional Screenshots:



edit: just found out that the buttons appear when I resize the editor (On Resize, the content of the editor is hidden and the buttons are shown, but when I stop resizing, its exactly vice versa)
Stanimir
Telerik team
 answered on 15 Feb 2011
4 answers
131 views
I have a RadGrid embedded in a RadAjaxPanel that gets loaded with data based on an ajaxrequest call to the RadAjaxPanel.

Data is loaded based on a user defined query.

The first time the query fires, the data comes back fine. The second time and every attempt onwards the loading panel remains and the data is not displayed. I only have this issue when testing with IIS. Running the solution from the localhost with VS 2008 does not give me this problem.

Please see the attached image for a sense of the problem.

It does not seem to be a loadingpanel problem, but purely an ajaxrequest problem. Without the loading panel the second request just does not get answered it seems by the server.

cheers,

Marc.
Iana Tsolova
Telerik team
 answered on 15 Feb 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?