Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
121 views
Hi
I have a radgrid which opens a .ascx page to edit or add items. The settings to do this from the grid are copied below. The grid holds appointments. I have a separate aspx page with a radgrid that hols a waitlist. I have been able to code a solution so that when an item in the the waitlist grid is edited to say 'create appointment and close waitlist item', I open the Appointment.aspx page with the grid below. What I have not been able to do is then programatically open the ActivePatientAppointmenControl.ascx page so I can pass details to create a new appointment.  At the moment this has to be done manually. Is there a way I can do this with code?
thx kindly
M

Radgrid settings on Appointment.aspx

 

<MasterTableView CommandItemDisplay="Top" EditMode="PopUp">

 



<

 

EditFormSettings EditFormType="WebUserControl" UserControlName="ActivePatientAppointmentControl.ascx">

 

 

<PopUpSettings Height="420px" Width="700px" Modal="True" ZIndex="2500" />

 

 

</EditFormSettings>

 

Michael Hurse
Top achievements
Rank 1
 answered on 05 May 2010
2 answers
114 views
Short version of what I'm looking for: How do I change the cursor specific to hovering over chart series items?  I've found some documentation to a SeriesDefinition.Appearance property where the cursor can be set, but this does not seem to apply with regards to RadChart for ASP.NET AJAX.

Long version (in case someone can provide a solution or other workaround for the initial issue):

Development began with a previous version of RadControls that seems best compatible with IE7 and thus has remained in this environment.

MAIN ISSUE: In IE7, the cursor automatically defaults to a text cursor in all areas (divs, etc.) where it is not defined.  This is a confirmed bug amongst many others in IE7 as part of the hasLayout issue.  Not a huge deal for some, but I find this quite annoying to see throughout the application.

SOLUTION A: Hack using CSS definition to give all <div> tags a background color of white.  This tricks IE7 into thinking that the <div> tag is defined and has a layout, which in a sense it now does with the white bg.  I was not able to hack with any other property such as others suggested (zoom, position, etc.)

ISSUE A: With the cursor now behaving correctly throughout the entire app (text, hand, default where they should be), there are now some white bgs seen as some of the RadControls use <div> tags and most likely have not explicitly defined a bg.  No problem as I can mostly trace these and override with !important in the app CSS.  The ONLY issue being the RadSplitBar.  When collapse and expand is set to none (so just the vertical bar showing), there's a white bg space about 2 px in height that shows up exactly in the middle where the collapse/expand buttons would normally go.  I've tried overriding all <div> elements associated with the RadSplitter to no avail.

SOLUTION B: Set the cursor to default (which is an arrow) throughout the entire app.  This seems to work pretty well with two exceptions. 1)Have to manually set cursor to text where appropriate and 2)For whatever reason the RadChart Series Item hover no longer changes to a pointer (hand).  Thus we come full circle back to the question above.

I wasn't sure where to post this but as of now thinking solution b is the way to go regardless.  Any help would be greatly appreciated.

Thanks
Panit
treesara
Top achievements
Rank 1
 answered on 05 May 2010
1 answer
105 views
I am using the FormDecorator to format textboxes. Some of the asp textboxes are not visible during the page load. Then when I make them visible, they do not have rounded corners. Is there a way to tell FormDecorator to "redecorate"? I am using RadAjaxManage too.
 

UPDATE:
I just noticed it is only affecting the textboxes that have watermarks... how can I maintain the rounded corners w/ the watermarks?
Chad Canterbury
Top achievements
Rank 1
 answered on 05 May 2010
0 answers
81 views
I've created a ListView on a page that was designed for both desktop and mobile device compatibility.  This all works fine except on Blackberry phones.  We've tested with 3 different Blackberries with the same result.

Inside the the RadListView's LayoutTemplate, I have an asp:LinkButton with these options attached:
    CommandName="Page" CommandArgument="Next"

For some reason on Blackberries, clicking on the resulting "next" button produces an unspecified JavaScript error.  In most cases, these same Blackberries will successfully parse and execute JS code.

Has anyone else had a similar problem to this?
Alan Shepherd
Top achievements
Rank 1
 asked on 05 May 2010
2 answers
199 views
I encountered this space key issue when using textbox in treeview. every time when I hit space key in textbox, the checked node got unchecked and focus is lost. I follow the solution in http://www.telerik.com/community/forums/aspnet-ajax/treeview/radtreeview-control-with-textbox-space-issue.aspx and it doesn't work. Here is my sample code.
  <asp:Panel ID="cbpConditions" runat="server" Width="100%"
                 
                 <telerik:RadTreeView ID="t" runat="server" Width="100%" CheckBoxes="True" OnClientNodeChecked="OnClientNodeCheckedEventHandler" 
                                OnClientMouseOver="OnClientMouseOver" OnClientNodeExpanded="NodeExpanded" ExpandDelay="0" MultipleSelect="false"
                            </telerik:RadTreeView> 
                            <script type="text/javascript"
                                var origOnKeyDown = Telerik.Web.UI.RadTreeView.prototype._onKeyDown; 
 
                                Telerik.Web.UI.RadTreeView.prototype._onKeyDown = function(e) { 
                                    var node = this.get_selectedNode(); 
                                    if (!node) { 
                                        if (e.keyCode == this._upArrowKeyCode || e.keyCode == this._downArrowKeyCode || 
                                            e.keyCode == this._enterKeyCode || e.keyCode == this._spaceKeyCode) { 
                                            this._selectFirstNode(); 
                                            //e.preventDefault();  
                                        } 
                                        return; 
                                    } 
                                    origOnKeyDown.apply(this, arguments); 
                                }  
                            </script>  
                         
                </asp:Panel> 

The textbox is created in code behind instead of using template here.
Sreenivas
Top achievements
Rank 1
 answered on 05 May 2010
2 answers
155 views
Multiple filters works fine if the user sets them from the UI. I can't get more than 1 to work when initializing the filter from my javascript. It is a serious limitation.

I am doing the actual filtering in my web service. I just need for it to pass multiple filter expressions to my select method.

Any ideas?

Thanks,
Joe
Joe
Top achievements
Rank 2
 answered on 05 May 2010
2 answers
201 views
Here is my window.   
<telerik:RadWindow ID="Win1" VisibleOnPageLoad="true" runat="server"
        VisibleStatusbar="false"
        Animation="Fade" ShowContentDuringLoad="false" VisibleTitlebar="false" Behaviors="None" Modal="false">
<contentTemplate>
<img src="myimage.jpeg" />
<a href="#" onClick="myclosefunction();">Close</a>
</contentTemplate>
    </telerik:RadWindow>

Above I have shown a sample of creating a splash window which should be shown when the page is load. I have removed all the skins embedded with it.

I have used ' VisibleOnPageLoad="true" ' to show it on the page load.
Well up to this, it is okay.,

My problem is I don't have any idea to close this window.  I am using an hyperlink which has a close funtion. I don't know what to write on the onClick function.

Could any one give me an exact example to do this? I want to change entire window to show it like a splash screen.

Thanks
Hassan Yasir
Top achievements
Rank 1
 answered on 05 May 2010
2 answers
68 views
I have a RadGrid that uses a custom user control for editing and the user control contains a RadListBox that has drag and drop enabled. The OnDropped event fires, but e.SourceDragItems is always empty. Any idea why?
Joe Kalinowski
Top achievements
Rank 1
 answered on 05 May 2010
12 answers
218 views
Hi,

I'm having some problems regarding the radupload and radajaxpanel controls. In my page I have one radajaxpanel, inside of it I have a RadMultiPage and in one of the MultiPages exists one UserControl and one radgrid just below. Inside of this UC I have another radajaxpanel (with the ClientEvents-OnRequestStart defined so the RadUpload can upload the files) with one table, one radupload, one button (to upload) and a repeater to show the already uploaded files.

My problem regards the behavior of the radajaxpanel inside the UserControl because it expands when I click to create a new upload form but the outer page doesn't, witch causes the usercontrol to expand behind the radgrid.

Is there any way I can disable the ajax to the update button only from the main page or force the main radajaxpanel to expand with the inner ajaxpanel?

Thanks in advance.
Rui Lopes
Top achievements
Rank 1
 answered on 05 May 2010
2 answers
143 views
I am trying to use the ContentTemplate feature of the RadWindow for a login form and it works just fine, however I am wondering how I set focus to the text box in the window.  I am using the asp:Login control and I tried using the defaultfocus attribute of the form tag to set it but it didn't work out as I expected.

TIA
Seth
Top achievements
Rank 1
 answered on 05 May 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?