Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
52 views
Hi,

I have custom Style listed in Editor Apply CSS class dropdown. These styles are loaded from a style sheet and it works perfect in all browsers except IE and that too in IE all styles are loaded perfectly except one style named "Normal". I am sure there won't be any issues with that style because it is loading in FF and chrome. I am not sure whats going wrong. Can some one help me to load that style in IE also.

Thanks,
Akila.
Akila Kumarasamy
Top achievements
Rank 1
 answered on 21 May 2011
6 answers
193 views
I want to style radspell button. When I try to add the class to the RadSpell control, it doent  apply to the button but rather styles the surrounding areas. Is there a way I can style the radspell button.

thanks
TechSavvySam
Top achievements
Rank 1
 answered on 21 May 2011
1 answer
121 views
referencing your example:

http://demos.telerik.com/aspnet-ajax/listview/examples/definingstructure/declarativedefinition/defaultcs.aspx

you use this bit of markup:

  <LayoutTemplate>
                    <div class="RadListView RadListView_<%#Container.Skin %>">


When I use the exact same code in my page the result renders as:

  <LayoutTemplate>
                    <div class="RadListView RadListView_Default">


Even though the page is using the Sunset skin and buttons are rendering on the page properly with the Sunset skin.

If I hard code this in the page:

  <LayoutTemplate>
                    <div class="RadListView RadListView_Sunset">

It works exactly as I want (but obviously won't work if we change the site's Skin).


TechSavvySam
Top achievements
Rank 1
 answered on 20 May 2011
3 answers
106 views

I have implemented a portal page that allows users to position docks in three zones or float additional docks around the interface.   This allows users with different screen resolutions to make use of their full screen and not be bound to our web portals sizing when having multiple docks on the screen.

To facilitate this I have written a script to ensure that users cannot move floating docks outside of the current screen bounds.  However, the problem I am running into is losing docks when the browser window is resized.   Tapping into a resize event handler for the browser is easy enough but I can’t find a command to cycle through all the open (or just floating) RadDocks to get their current positions so I can reposition them based on the screen resize.

Is there a command similar to cycling through a DockState in C for Java on the client side???

TIA

Gimmik
Top achievements
Rank 1
 answered on 20 May 2011
4 answers
289 views
I have a radgrid inside a user control that disappears when in edit mode or add new mode.   works just fine when the grid is inside an aspx page but when placed inside an ascx, it breaks.  any ideas?
Sergiu
Top achievements
Rank 2
 answered on 20 May 2011
3 answers
84 views
Hi I am on the latest internal build and I have a page with validation controls on it and I can not switch tabs on the ribbonbar without firng the validation.
Sam
Top achievements
Rank 1
 answered on 20 May 2011
4 answers
436 views
I am using the ASP.net version of the rad controls (RadControls for ASP.NET AJAX Q1 2011 SP1). I have a RadComboBox that, when the value is set to Other, should display a RadTextBox for data entry, here is the definition and JavaScript i am using:

<telerik:RadComboBox runat="server" ID="rcbIndustry" OnClientSelectedIndexChanged="OnClientSelectedIndexChanged" Skin="Black" Width="269" EnableEmbeddedSkins="false" />
<span id="tmp"></span>
<telerik:RadTextBox runat="server" ID="rtbIndustryOther" Skin="Black" Width="250" EnableEmbeddedSkins="false" />
<script>
    function OnClientSelectedIndexChanged(sender, eventArgs) {
        if (eventArgs.get_item().get_value() == 'Other') {
            $find("#<%= rtbIndustryOther.ClientID %>").set_visible(true);
            $("#tmp").html('<br>');
        }
        else {
            $("#<%= rtbIndustryOther.ClientID %>").set_visible(false);
            $("#tmp").html('');
        }
    }
    $find("#<%= rtbIndustryOther.ClientID %>").set_visible(false);
</script>


The last line in the script ($find("#<%= rtbIndustryOther.ClientID %>").set_visible(false);) immediately throws an error:
 "Microsoft JScript runtime error: Unable to get value of the property 'set_visible': object is null or undefined"

What am I doing wrong as this is driving me nuts...
Dmitri
Top achievements
Rank 1
 answered on 20 May 2011
2 answers
96 views
Yes, it's time for another dumb questions from yours truly.

I'm often surprised by how many times I find myself doing something for the first time, even though I've been doing this kind of work for a while now. Anyhow, here's the thing. I have a page with code on it that includes this ...

<telerik:RadScriptBlock runat="server" ID="RadScriptBlock1" >
  <script type="text/javascript">
      $(document).ready(function ()
      {
          var addEditEventDialog = new CalendarAddEditEventObject();
      });
  </script>
</telerik:RadScriptBlock>

The constructor of the object being created includes code to attach a couple of client-side event handlers and it all works fine. Until, that is, my page does an Ajax callback. At this point my handlers stop working.

Now, I've found a workaround but I'm unsure if it is the right work around. I've added RadScriptBlock1 in to the set of updated controls in the AjaxManager.

What should I be doing?

-- 
Stuart
Stuart Hemming
Top achievements
Rank 2
 answered on 20 May 2011
2 answers
151 views
I've run out of ideas on how to do this so I'm hoping one of you will give me an idea.

What I'm trying to do, at the request of our user community, is have a popup open when a user drags/drop a row so they can enter some information.

I'm using jQuery and some jQuery plug-ins in trying to accomplish this, everything works independently but when I try to incorporate it with the drap event it doesn't work.

I've tried squirting the javascript at the end of the rowdrop event of the grid and it does trigger my javascript and I've traced it and it should popup my window but it doesn't, I suspect that the javascript is being triggered at the wrong time in the sequence of events.

Any help would be appreciated.

All I need is a popup with a text area and a OK/Cancel that is triggered at the end of the dropping of a row.

Thanks
Alex
Top achievements
Rank 2
 answered on 20 May 2011
5 answers
350 views
Hi,
I am using the webservice method of populating my radtreeview as it was described as the most efficient way to load large amounts of data. So the signature of my webservice method is:

[WebMethod]
public RadTreeNodeData[] WebServiceMethodName(RadTreeNodeData node, object context)

However, the nodes that I am populating the tree with depend on the security access of the user that is logged in to my application..
Is it possible to pass additional parameters to the webservice method? Or must I use a ServerSideCallBack method to populate the tree? I am hoping that I can still use the webservices functionality... I would like to pass a signature like this to my webservice method:
[WebMethod]
public RadTreeNodeData[] WebServiceMethodName(RadTreeNodeData node, object context, object userSession)

I look forward to your response. Thank you!

Nikolay Tsenkov
Telerik team
 answered on 20 May 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?