Showing a DialogMessage in Browser

J

Janko

Hi all,
I have a short question, is it possible to display "something like a
messagebox" in the browser environment ?
I have search quite a bit but wasn't successfull :(

Can anyone give me a hand on it ?

I try to display an information box in the browser by using Visual Basic
..Net Code.

Any help is more then welcome

cheers
Janko
 
S

S.Y.M. Wong-A-Ton

I do not think it is possible, Janko, but someone could correct me months
down the road...

To display a message box in a browser, you'd have to use script. And since
forms are embedded within a control on the page that Forms Server uses, it is
difficult to get script into the page for use. Your best bet would be to
create an extra view to display messages for your form.
 
J

Janko

Hi S.Y.M. Wong-A-Ton

thank you 4 ur answer :)

I tried a lot of things but I believe your right - it is not possible to
display messageboxes within a Browser InfoPath Form. But I found a way to
display messages.
I believe it its a good way around. I created a not visible textbox where
the button gets pressed which displayes information, e.g. Form saved, Order
placed, fields need to be filled out, even so I'm able with this solution to
provide each message with a different colour.

And I do believe displaying the necessary information in a textbox is more
helpful for the customer which uses the form, because more or less all users
do not read messageboxes they just click ok.

Which is not possible with a text box

Thank you for your time

Cheers
Janko
 
S

S.Y.M. Wong-A-Ton

Hi Janko,

I spent 9 hours trying to figure this one out! Like I said, someone might
prove me wrong sometime down the road. ;-)

It *is* possible to show a message box with a browser form, but you would
have to create your own "FormsServer.aspx" web page to display your forms. In
addition, I haven't yet found a way to link a forms lib to such a custom web
page, so you might also have to create a web part to display links that can
call your custom page to display the forms.

All-in-all, it is a lot of work to get it done. I might write an article on
how to do it, but do not think that it's worth the effort. In the end, I
think you found a neat and viable way around it...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top