CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> General/Other

 [RESOLVED] Modal with Inmotion Framework

Print topic Send  topic

Author Message
innonet

Posts: 55
Posted: 11/09/2010, 11:25 AM

Has anybody tried to incorporate Modal Windows with ASP.net C# Inmotion ?? I am not able to get that working and would love to (buy) get a sample. Any help or input is welcome and appreciated.
View profile  Send private message
dragoon


Posts: 173
Posted: 11/10/2010, 2:02 AM

Hi,

see my post here
http://forums.codecharge.com/posts.php?post_id=113159
View profile  Send private message
innonet

Posts: 55
Posted: 11/11/2010, 10:27 AM

I was able to get the Modal Window going. Looks really nice. One question remains though. Why can I trigger the display of a Modal Window ONLY from within a FORM ? It does not work from within a Grid.

Any help or input is appreciated !
View profile  Send private message
innonet

Posts: 55
Posted: 11/12/2010, 8:55 AM

Hi there,

Thank you for your post in regards to the Modal Window.
http://forums.codecharge.com/posts.php?post_id=113159

In this post you refer to a "Link Control". Maybe I am too stupid for that, but a) What is a Link Control and b) if you mean a regular Link then there is NO OnClick Event.

Can you please let me know ???

Thank you !
View profile  Send private message
dragoon


Posts: 173
Posted: 11/12/2010, 10:10 AM

Hi,

Actually you can trigger it from any javascript event.

onclick is available for form objects (input, button...), links, images.

select a HTML element and expand Events in the Format tab, in the properties window.
View profile  Send private message
innonet

Posts: 55
Posted: 11/13/2010, 9:20 AM

Thank you. Then I wasn't too far off. LOL. I have tried Grids and Editable Grid to open the Modal Window. It only works from within a Record.

And I would really need to trigger the Modal directly from a Grid.

Do you have an example you could send me ???? I would really appreciate it. I would not mind paying you for that ...

Thank you !
View profile  Send private message
dragoon


Posts: 173
Posted: 11/17/2010, 5:27 AM

Hi,

I'm kind of busy right now
Still, thanks for the reward, you can keep it :-)
If you got some projects maybe I'll be interested ;-)

So, as I told in the post in the other forum,
For a grid/modal record combination, I took a different approach
Because I want each time the record in the modal windows to receive a parameter_id from the grid (the grid has a link control column) and in .NET projects when you click a link the page is posting back, I put this script in the onload event of the page
  
var url = window.location.href;   
if (url.indexOf("bill_id") > 0) {   
ShowModal1_show();   
}  

where the bill_id is the parameter for the record from the modal window
View profile  Send private message
innonet

Posts: 55
Posted: 11/18/2010, 9:30 AM

With the help of Dragoon we were finally able to resolve the MODAL Window Problem in InMotion.

We have a solution which allows you:

(1) To open a Modal Window directly from within a GRID
(2) To open a Modal Window from within a RECORD (Form)

Please send me a PM if you would like to get the solution.

A big THANK YOU to Dragoon for his patience, input and help.
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.