Ask a Question related to ASP.NET General, Design and Development.
-
Marcos MOS #1
show a message to user (WebApplication)
Hi all,
I would like show a message to user when the function's result return
"false"... like this
....
if (! my_function(params))
showMessage("my string message");
so, How Can I do it? Like, send a window's message or opening an other
iexplorer sending the string message by parameter, like (in Javascript)
"window.open"...
thanks for all
Marcos
Marcos MOS Guest
-
How can I show validation error message with ActionScript progrmming?
Hi~ I want to show a validation error messgae with ActionScript. I general, if there is invalid data in form with validator, user can see the... -
How to show popup message in a webform
Hi, I am explaining the scenario of what I am trying to do: - I have a webform with some controls, from which I am taking the data. eg say... -
How to show a Access Denied Page when User is not in Role?
Hello I have Implemented the Forms Based Authentication and manageing Roles on the Directories. If a User is not in Role on some Sub directory of... -
DON'T SHOW ME THIS MESSAGE AGAIN
Hi Apologies if this question has already been asked. If you check Don't show me this message again in any of the DW4 dialogs is it possible to... -
Show only form to user
If you just want to hide the database window... Tools | StartUp Uncheck the 'Display Database Window' box. When you want to see the database... -
S. Justin Gengo #2
Re: show a message to user (WebApplication)
Marcos,
What information are you validating? If you can use the built in validation
controls they have a an option to show a validation summary either on the
page or in a pop up window.
If this isn't what you're looking for let me know. Your other option is to
write code on-the-fly to a window you open with javascript. I'll give you a
sample if you'd like.
--
S. Justin Gengo, MCP
Web Developer
Free code library at:
[url]www.aboutfortunate.com[/url]
"Out of chaos comes order."
Nietzche
"Marcos MOS" <marcos.santos@softway.com.br> wrote in message
news:uZ9zhJIUDHA.2228@tk2msftngp13.phx.gbl...> Hi all,
>
> I would like show a message to user when the function's result return
> "false"... like this
>
> ...
> if (! my_function(params))
> showMessage("my string message");
>
> so, How Can I do it? Like, send a window's message or opening an other
> iexplorer sending the string message by parameter, like (in Javascript)
> "window.open"...
>
> thanks for all
> Marcos
>
>
S. Justin Gengo Guest
-
Marcos MOS #3
Re: show a message to user (WebApplication)
Hi,
thanks for your help...
so, I have a button im my aspx --> when the user click in that one, I do a
query in the database and if that returns a false result, like
if (myDataSet.Tables[0].Rows.Count > 1)
ShowMessage("User, you have already registered these
informations...")
Did you undertand me? That Message could be a window, or would be better if
I could show a simple message, like window.alert in JavaScript, but sending
my custom string message....
I'd like to receive your sample...
An other doubt, is... If I would like to do a question to user and depending
on the answer the Page do something, as follow the example:
if (showQuestion("Would you like to insert it?") == True)
this.insertFunction(params);
thanks a lot
Marcos
"S. Justin Gengo" <sjgengo@aboutfortunate.com> escreveu na mensagem
news:#cnSYiIUDHA.3324@tk2msftngp13.phx.gbl...validation> Marcos,
>
> What information are you validating? If you can use the built ina> controls they have a an option to show a validation summary either on the
> page or in a pop up window.
>
> If this isn't what you're looking for let me know. Your other option is to
> write code on-the-fly to a window you open with javascript. I'll give you> sample if you'd like.
>
> --
> S. Justin Gengo, MCP
> Web Developer
>
> Free code library at:
> [url]www.aboutfortunate.com[/url]
>
> "Out of chaos comes order."
> Nietzche
> "Marcos MOS" <marcos.santos@softway.com.br> wrote in message
> news:uZ9zhJIUDHA.2228@tk2msftngp13.phx.gbl...>> > Hi all,
> >
> > I would like show a message to user when the function's result return
> > "false"... like this
> >
> > ...
> > if (! my_function(params))
> > showMessage("my string message");
> >
> > so, How Can I do it? Like, send a window's message or opening an other
> > iexplorer sending the string message by parameter, like (in Javascript)
> > "window.open"...
> >
> > thanks for all
> > Marcos
> >
> >
>
Marcos MOS Guest
-
S. Justin Gengo #4
Re: show a message to user (WebApplication)
Marcos,
If the message is displayed to the user after a database query (which would
have to occurr on the server) a window.alert is the perfect way to go.
What you could do is attach it to an "onLoad" event in the body tag.
I have a bit of code on my website on how to do this.
Just go to [url]www.aboutfortunate.com[/url]
The title you are looking for is: Use the "body" tag as a server control
If you filter the list for Web and VB.Net it will make it easier to find.
Sorry, but I haven't built the site's search function yet. But there isn't
much code in the library yet so it shouldn't be too hard to find.
--
S. Justin Gengo, MCP
Web Developer
Free code library at:
[url]www.aboutfortunate.com[/url]
"Out of chaos comes order."
Nietzche
"Marcos MOS" <marcos.santos@softway.com.br> wrote in message
news:ucM7r7IUDHA.1664@TK2MSFTNGP11.phx.gbl...if> Hi,
>
> thanks for your help...
>
> so, I have a button im my aspx --> when the user click in that one, I do a
> query in the database and if that returns a false result, like
> if (myDataSet.Tables[0].Rows.Count > 1)
> ShowMessage("User, you have already registered these
> informations...")
>
> Did you undertand me? That Message could be a window, or would be bettersending> I could show a simple message, like window.alert in JavaScript, butdepending> my custom string message....
>
> I'd like to receive your sample...
>
> An other doubt, is... If I would like to do a question to user andthe> on the answer the Page do something, as follow the example:
> if (showQuestion("Would you like to insert it?") == True)
> this.insertFunction(params);
>
> thanks a lot
> Marcos
>
>
> "S. Justin Gengo" <sjgengo@aboutfortunate.com> escreveu na mensagem
> news:#cnSYiIUDHA.3324@tk2msftngp13.phx.gbl...> validation> > Marcos,
> >
> > What information are you validating? If you can use the built in> > controls they have a an option to show a validation summary either onto> > page or in a pop up window.
> >
> > If this isn't what you're looking for let me know. Your other option isyou> > write code on-the-fly to a window you open with javascript. I'll giveJavascript)> a> > sample if you'd like.
> >
> > --
> > S. Justin Gengo, MCP
> > Web Developer
> >
> > Free code library at:
> > [url]www.aboutfortunate.com[/url]
> >
> > "Out of chaos comes order."
> > Nietzche
> > "Marcos MOS" <marcos.santos@softway.com.br> wrote in message
> > news:uZ9zhJIUDHA.2228@tk2msftngp13.phx.gbl...> > > Hi all,
> > >
> > > I would like show a message to user when the function's result return
> > > "false"... like this
> > >
> > > ...
> > > if (! my_function(params))
> > > showMessage("my string message");
> > >
> > > so, How Can I do it? Like, send a window's message or opening an other
> > > iexplorer sending the string message by parameter, like (in>> >> > > "window.open"...
> > >
> > > thanks for all
> > > Marcos
> > >
> > >
> >
>
S. Justin Gengo Guest



Reply With Quote

