Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / April 2005

Tip: Looking for answers? Try searching our database.

Is there any way to use a infomation message box instead of the Al

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
David Wei - 23 Dec 2004 22:15 GMT
I am designing an infopath form. I want to show the users with an information
box, for example, after they click submit, to show " submit successfully"
something.
unfortunately, I just found the Alert method  and Confirm method under
XDocument.UI, those are not what I really want, as this is just a information
notification, no warn or choose need.
If I use the default submit function, there is a infomation message box
there. But I couldn't find the way to use that while I write codes for
submitting.

Any expert can help me?  Great thanks and Merry Christmas!



Signature

Working on a project with biztalk and sharepoint.

Darren Neimke - 24 Dec 2004 00:09 GMT
Hi David, if you have a custom TaskBar you can pop custom Html UI to the
user.  To see this in action take a peek at the DataInterop sample form - you
should find it at:

   C:\Program Files\Microsoft Office 2003 Developer Resources\Microsoft
Office InfoPath 2003 SDK\Samples\DataInterop

Extract the files which make up that Form and look at the scripts.js file to
see how they pop the UI.
David Wei - 24 Dec 2004 16:47 GMT
Hi Darren,

Thanks for quick response. Actually, I did try the sample what you suggested
before. If I didn't misunderstand you, I guest what you figured is the
XDocument.UI.ShowModalDialog. But that 's also not what I want. there are
some reason below:
at first, I don't want to change the form to be full trusted just because I
used such a small piece of functionality. and it's also not straight forward.
I have to make a htm file and add it into the form.

Actually, I just hate the exclamation on the Alert pop window as this is
just information notice. I don't know why the mircrosoft guys didn't offer
another method for UI, similar to Alert but just for kind information.

Regards

david

> Hi David, if you have a custom TaskBar you can pop custom Html UI to the
> user.  To see this in action take a peek at the DataInterop sample form - you
[quoted text clipped - 5 lines]
> Extract the files which make up that Form and look at the scripts.js file to
> see how they pop the UI.
em - 28 Dec 2004 07:59 GMT
hi,
don't know if you want/can use managed code. I am using managed code
(VB.NET) and there I use the MsgBox-function which solves the problem you
mentioned.
regards
em

> Hi Darren,
>
[quoted text clipped - 23 lines]
> > Extract the files which make up that Form and look at the scripts.js file to
> > see how they pop the UI.
David Wei - 28 Dec 2004 16:33 GMT
Unfortunately, I can't.  there is no .net framework on uer side.
thanks any way.

david
David Wei - 28 Dec 2004 16:33 GMT
Thanks! unfortunately, I couldn't. there is not .net framework in users side.

> hi,
> don't know if you want/can use managed code. I am using managed code
> (VB.NET) and there I use the MsgBox-function which solves the problem you
> mentioned.
> regards
> em
Greg Collins [InfoPath MVP] - 28 Dec 2004 17:35 GMT
Since you are not using .NET, if you have a task pane, you can use a modal dialog from the task pane without the requirement to be full trust.

Signature

Greg Collins [InfoPath MVP]
Please visit: http://www.InfoPathDev.com

Hi Darren,

Thanks for quick response. Actually, I did try the sample what you suggested
before. If I didn't misunderstand you, I guest what you figured is the
XDocument.UI.ShowModalDialog. But that 's also not what I want. there are
some reason below:
at first, I don't want to change the form to be full trusted just because I
used such a small piece of functionality. and it's also not straight forward.
I have to make a htm file and add it into the form.

Actually, I just hate the exclamation on the Alert pop window as this is
just information notice. I don't know why the mircrosoft guys didn't offer
another method for UI, similar to Alert but just for kind information.

Regards

david

"Darren Neimke" wrote:

> Hi David, if you have a custom TaskBar you can pop custom Html UI to the
> user.  To see this in action take a peek at the DataInterop sample form - you
[quoted text clipped - 5 lines]
> Extract the files which make up that Form and look at the scripts.js file to
> see how they pop the UI.
ChandraSekhar Annapragada - 21 Apr 2005 15:04 GMT
Hi,
We used taskpane option with ShowModalDialog() method we got success on
this.  No need to make the form as trusted form.  

> Since you are not using .NET, if you have a task pane, you can use a modal dialog from the task pane without the requirement to be full trust.
>
[quoted text clipped - 27 lines]
> > Extract the files which make up that Form and look at the scripts.js file to
> > see how they pop the UI.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.