Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx thread: aspx digest: February 12, 2003


Message #1 by Arnab Kar <arnabs@r...> on Wed, 12 Feb 2003 16:45:49 -0800 (PST)
hi,

i am new to asp.net.  i am trying to access the
records from the table with three dropdown boxes.

can u help me with the code? 

i am trying to refine my selction with three
dropdown boxes and access the records and drop it
to datagrid. can u help me with the code pls?

i cam do it with one dropdown..but i can't when
there are multiple dropdowns.

thanks,


arnab kar
--- "ASP.NET digest" <aspx@p...> wrote:
> -----------------------------------------------
> When replying to the digest, please quote only
> relevant material, and edit the subject line to
> reflect the message you are replying to.
> -----------------------------------------------
> 
> The URL for this list is:
> http://p2p.wrox.com/list.asp?list=aspx
> ASPX Digest for Wednesday, February 12, 2003.
> 
> 1. RE: Cancel refresh page sound in Internet
> Explorer
> 2. RE: Cancel refresh page sound in Internet
> Explorer
> 3. RE: Logon Error in Crystal Reports (using
> SQL Server) in A
>      SP.NET
> 4. Remote Connection
> 5. Two Questions
> 6. Re: Two Questions
> 
>
----------------------------------------------------------------------
> 
> Subject: RE: Cancel refresh page sound in
> Internet Explorer
> From: "Greg Quinn" <greg@i...>
> Date: Wed, 12 Feb 2003 09:11:12 +0200
> X-Message-Number: 1
> 
> Hi Michal,
> 
> Please send it to me
> 
> Thanks
> Greg
> 
> ----- Original Message -----
> From: "Michal Tesar" <kariba@p...>
> To: "ASP.NET" <aspx@p...>
> Sent: Tuesday, February 11, 2003 9:54 PM
> Subject: [aspx] RE: Cancel refresh page sound
> in Internet Explorer
> 
> 
> > Hey Greg,
> >
> > I was working with the same problem. I solved
> it by setting up a simple
> > webservice, and I am calling it over SOAP
> from javascript, it works great,
> > without even refreshing the page!
> >
> > If you want, I can send you the code.
> >
> > cheers,
> > Mike
> >
> > -----Puvodní zpráva-----
> > Od: Peter Lanoie
> [mailto:planoie@n...]
> > Odesláno: Tuesday, February 11, 2003 12:15 PM
> > Komu: ASP.NET
> > Predmet: [aspx] RE: Cancel refresh page sound
> in Internet Explorer
> >
> >
> > This is a windows setting that, best to my
> knowledge, is not modifiable
> from
> > the "outside".  About the only thing you can
> do is shut off the "Start
> > Navigation" sound under "Windows Explorer"
> sound events in the sound
> control
> > panel.
> >
> > I never understood the point of that sound
> effect.  My mouse makes a
> little
> > click noise when I press the button.  I
> always thought that was enough
> > already.  Apparently, MS felt I needed
> reassurance that I'd pressed the
> > button. ;-)
> >
> > Peter
> >
> > -----Original Message-----
> > From: Greg Quinn [mailto:greg@i...]
> > Sent: Monday, February 10, 2003 03:05
> > To: ASP.NET
> > Subject: [aspx] Cancel refresh page sound in
> Internet Explorer
> >
> >
> > In my asp.net app I have a hidden iframe that
> refreshes every 5 seconds to
> > check for database information.
> > But it is very irritating as every 5 seconds
> that windows-clicking sound
> > comes on.
> >
> > Is there anyway to cancel the refresh sound
> of the page? with stylesheets?
> > Javascript? .net runtime etc?
> >
> > Greg
> >
> >
> >
> >
> >
> >
> 
> 
>
----------------------------------------------------------------------
> 
> Subject: RE: Cancel refresh page sound in
> Internet Explorer
> From: "Michal Tesar" <kariba@p...>
> Date: Wed, 12 Feb 2003 00:25:44 -0700
> X-Message-Number: 2
> 
> Ok,
> here you go Greg..
> 
> this is for Literal object to <head> tags:
> 	Doc += "<SCRIPT language=\"JavaScript\">\n";
> 	Doc += "var iCallID;\n";
> 	Doc +
> "window.setInterval(\"ExecuteWS();\",3000);\n";
> 	Doc += "function ExecuteWS()\n";
> 	Doc += "{\n";
> 
> 	Doc += "iCallID 
>
service.XMLSOAPWebservice.callService(\"XMLSOAPCheck\","+Int32.Parse(Context
> .User.Identity.Name.ToString())+");\n";
> 
> 	Doc += "}\n";
> 	Doc += "function onWSresult()\n";
> 	Doc += "{ \n";
> 	Doc +
>
"if((event.result.error)&&(iCallID==event.result.id))\n";
> 	Doc += "{ \n";
> 	Doc += "var xfaultcode 
> event.result.errorDetail.code;\n";
> 	Doc += "var xfaultstring 
> event.result.errorDetail.string; \n";
> 	Doc += "var xfaultsoap 
> event.result.errorDetail.raw;\n";
> 	Doc += "document.writeln(\"ERROR. Method call
> failed!\");\n";
> 	Doc += "document.writeln(\"Call ID:\" +
> iCallID);\n";
> 	Doc += "document.writeln(\"Fault Code:\" +
> xfaultcode);\n";
> 	Doc += "document.writeln(\"Fault String:\" +
> xfaultstring);\n";
> 	Doc += "document.writeln(\"SOAP Data:\" +
> xfaultsoap);\n";
> 	Doc += "}\n";
> 	Doc += "else if((event.result.error == false)
> && (event.result.value !
> \"\") &&   
>
(document.getElementById('launch').style.visibility
> ==
> \"hidden\"))\n";
> What I do is I slide a layer, something like
> MSN Messenger has...
> 	Doc += "{\n";
> 	Doc += "startSlide(event.result.value);\n";
> 	Doc += "}\n";
> 	Doc += "}\n";
> 	Doc += "</script"+">\n";
> 
> 	SOAPScript.Text = Doc;
> 
> also add this:
> 	<SCRIPT FOR = 'window' EVENT = 'onload()'>
> 
> 
>
service.useService('http://yoursite/XMLSOAPCALL/SOAPWebService.asmx?WSDL','X
> MLSOAPWebservice');
> 	</SCRIPT>
> 
> add this to <body>tags:
> 
=== message truncated ===


__________________________________________________
Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day
http://shopping.yahoo.com

  Return to Index