Showing posts with label alli. Show all posts
Showing posts with label alli. Show all posts

Thursday, March 29, 2012

Pop Up without TitleBars?

Hello All!
I have been trying to customize pop up windows for my ASP.NET Page. I want
to have a custom title bar. Is there a way to remove the windows title bar
from the pop up and make it apear as a frameless window?
Also I am using Windows XP with SP1.
If you know a way out, please help me!
Regards
Jyoti> Hello All!
> I have been trying to customize pop up windows for my ASP.NET Page. I want
to
> have a custom title bar. Is there a way to remove the windows title bar fr
om
> the pop up and make it apear as a frameless window?
> Also I am using Windows XP with SP1.
> If you know a way out, please help me!
> Regards
> Jyoti
I don't think that is possible, mainly for security reasons.
The fact that *you* are using a particular platform is not important
here, you will need to know what your *visitors* are using.
Hans Kesting
Thanks for replying Hans!
The point is that my application should work for the visitors using Windows
XP! And its not working there! Well, I am still trying to find a way out.
Thanks for your help!
Regards Jyoti
"Hans Kesting" <news.1.hansdk@.spamgourmet.com> wrote in message
news:mn.724c7d5b866fd633.41829@.spamgourmet.com...
> I don't think that is possible, mainly for security reasons.
> The fact that *you* are using a particular platform is not important here,
> you will need to know what your *visitors* are using.
> Hans Kesting
>

Pop Up without TitleBars?

Hello All!

I have been trying to customize pop up windows for my ASP.NET Page. I want
to have a custom title bar. Is there a way to remove the windows title bar
from the pop up and make it apear as a frameless window?

Also I am using Windows XP with SP1.
If you know a way out, please help me!

Regards
Jyoti> Hello All!
> I have been trying to customize pop up windows for my ASP.NET Page. I want to
> have a custom title bar. Is there a way to remove the windows title bar from
> the pop up and make it apear as a frameless window?
> Also I am using Windows XP with SP1.
> If you know a way out, please help me!
> Regards
> Jyoti

I don't think that is possible, mainly for security reasons.

The fact that *you* are using a particular platform is not important
here, you will need to know what your *visitors* are using.

Hans Kesting
Thanks for replying Hans!

The point is that my application should work for the visitors using Windows
XP! And its not working there! Well, I am still trying to find a way out.
Thanks for your help!

Regards Jyoti

"Hans Kesting" <news.1.hansdk@.spamgourmet.com> wrote in message
news:mn.724c7d5b866fd633.41829@.spamgourmet.com...
>> Hello All!
>>
>> I have been trying to customize pop up windows for my ASP.NET Page. I
>> want to have a custom title bar. Is there a way to remove the windows
>> title bar from the pop up and make it apear as a frameless window?
>>
>> Also I am using Windows XP with SP1.
>> If you know a way out, please help me!
>>
>> Regards
>> Jyoti
> I don't think that is possible, mainly for security reasons.
> The fact that *you* are using a particular platform is not important here,
> you will need to know what your *visitors* are using.
> Hans Kesting

POP3 Mail

Hi all

I need to implement a POP3 mail client as part of my project, everything fine from getting emails to read the attachments.

Problem is whenever I am downloading the messages they are no more in server, so I need to save them in local hard drive or database, is there any best approach to achieve this, or some other alternative

Please someone guide me through, thanks in advance for your help

whenever I am downloading the messages they are no more in server ? What it means? how you download the messages ? Using outlook express ?


Hi Thanks for Reply...

Means that they are deleted after downloading(Reading) from server, it's the default behaviour of pop I hope so.i tried with Gmail and inbox.com and retrieving a mail from custom written class by utilizing System.Net.Sockets class, even we can observe the behaviour using telnet.

So I need to save those emails before they got deleted from server, I posted here to know any better approaches to save and retrieve those emails whenever we need(like .eml files) or any thing better approach to handle with out saving them.


So,i decided to store emails(raw data received from pop3 server) in to (.eml) files using .net built in IO streams,when i open (.eml) file with outlook express,it's reading all content and attachments as it is,problem solved,if anybody need how just let me know.

Thanks..


...great and affordable component called 4ASPNet POP3, which does the trick.http://www.4-asp.net/products/pop3.aspx

Populate 2nd dropdown list based on selecteditem in first with out postback?

Hi All:

I have an aspx page that has 2 dropdownlists. I want to populate the second
dropdownlist based on the selecteditem in the first dropdown. I know I can
do this by doing a post back and using the selectedindex and loading the
second dropdownlist.

Is there anyway I can do this without doing a postback? Any ideas/pointers
will be much appreciated.

Thanks!

VinayYou'll have to use JavaScript in the client.

search: dependent listbox

<%= Clinton Gallagher
METROmilwaukee (sm) "A Regional Information Service"
NET csgallagher AT metromilwaukee.com
URL http://metromilwaukee.com/
URL http://clintongallagher.metromilwaukee.com/

"Vinay" <vinay_hs_removethis@.nospam.yahoo.com> wrote in message
news:ef$cOw4oFHA.2976@.TK2MSFTNGP12.phx.gbl...
> Hi All:
> I have an aspx page that has 2 dropdownlists. I want to populate the
> second dropdownlist based on the selecteditem in the first dropdown. I
> know I can do this by doing a post back and using the selectedindex and
> loading the second dropdownlist.
> Is there anyway I can do this without doing a postback? Any ideas/pointers
> will be much appreciated.
> Thanks!
> Vinay
Thanks for the pointer - will do some reading and see if I can implement it.

"clintonG" <csgallagher@.REMOVETHISTEXTmetromilwaukee.com> wrote in message
news:ek$zp%234oFHA.3656@.TK2MSFTNGP09.phx.gbl...
> You'll have to use JavaScript in the client.
> search: dependent listbox
> <%= Clinton Gallagher
> METROmilwaukee (sm) "A Regional Information Service"
> NET csgallagher AT metromilwaukee.com
> URL http://metromilwaukee.com/
> URL http://clintongallagher.metromilwaukee.com/
>
> "Vinay" <vinay_hs_removethis@.nospam.yahoo.com> wrote in message
> news:ef$cOw4oFHA.2976@.TK2MSFTNGP12.phx.gbl...
>> Hi All:
>>
>> I have an aspx page that has 2 dropdownlists. I want to populate the
>> second dropdownlist based on the selecteditem in the first dropdown. I
>> know I can do this by doing a post back and using the selectedindex and
>> loading the second dropdownlist.
>>
>> Is there anyway I can do this without doing a postback? Any
>> ideas/pointers will be much appreciated.
>>
>> Thanks!
>>
>> Vinay
>>

Populate 2nd dropdown list based on selecteditem in first with out postback?

Hi All:
I have an aspx page that has 2 dropdownlists. I want to populate the second
dropdownlist based on the selecteditem in the first dropdown. I know I can
do this by doing a post back and using the selectedindex and loading the
second dropdownlist.
Is there anyway I can do this without doing a postback? Any ideas/pointers
will be much appreciated.
Thanks!
VinayYou'll have to use JavaScript in the client.
search: dependent listbox
<%= Clinton Gallagher
METROmilwaukee (sm) "A Regional Information Service"
NET csgallagher AT metromilwaukee.com
URL http://metromilwaukee.com/
URL http://clintongallagher.metromilwaukee.com/
"Vinay" <vinay_hs_removethis@.nospam.yahoo.com> wrote in message
news:ef$cOw4oFHA.2976@.TK2MSFTNGP12.phx.gbl...
> Hi All:
> I have an aspx page that has 2 dropdownlists. I want to populate the
> second dropdownlist based on the selecteditem in the first dropdown. I
> know I can do this by doing a post back and using the selectedindex and
> loading the second dropdownlist.
> Is there anyway I can do this without doing a postback? Any ideas/pointers
> will be much appreciated.
> Thanks!
> Vinay
>
Thanks for the pointer - will do some reading and see if I can implement it.
"clintonG" < csgallagher@.REMOVETHISTEXTmetromilwaukee
.com> wrote in message
news:ek$zp%234oFHA.3656@.TK2MSFTNGP09.phx.gbl...
> You'll have to use JavaScript in the client.
> search: dependent listbox
> <%= Clinton Gallagher
> METROmilwaukee (sm) "A Regional Information Service"
> NET csgallagher AT metromilwaukee.com
> URL http://metromilwaukee.com/
> URL http://clintongallagher.metromilwaukee.com/
>
> "Vinay" <vinay_hs_removethis@.nospam.yahoo.com> wrote in message
> news:ef$cOw4oFHA.2976@.TK2MSFTNGP12.phx.gbl...
>

Wednesday, March 21, 2012

Populating a Drop Down List using a SQL Stored Procedure

Hello All
I posted this question yesterday but I do not see it in the list, and I cannot search and locate it.

I am rather new to coding in ASP.NET. However, I have been coding with Classic ASP for many years. Please be patient with me and my seemingly simple questions

I am in need of some help with Populating a Drop Down List is ASp.NET using C#. I want to be able to populate a drop down list with the ID as the value and the Text as the text shown by calling a SQL stored procedure. If possible, can you give me an example and comment what the steps are.

After much searching yesterday, I found a good example using access. But this is not what I needed. However, it did get me started with the concept.

And another question. How would I code to see the value choosen? My web forms contain mostly drop down list for items such as: state names, postal codes, area codes, dates, times, etc... Just about anything that I can use a DDL, I use it. Saves so much in the error checking.

Thank you in advance for your time.
Andrew
SQL DBATheres a few steps involved in getting data to be present on a page.

First for your application you'll need to create a DataReader object to interact with your SQLCommand which is your stored procedure. (research on how to implement a DataReader)

Then once you have data in your DataReader, you can bind it do the DDL like so:

ddl.DataSource = YourDataReaderName
ddl.DataValueField = "FieldNameofYourChoice" from your DataReader
ddl.DataTextFiled = "FiledNameofYourchoice" from your DataReader
ddl.DataBind

Basically that's it
Thank you
I was hoping to get more of a step by step instruction.
I am having alot of trouble making the database connection. I am seeing so many different types and ways of doing the same thing, that it is getting very confusing. Some inside the aspx page and some in the cs page. I would like to use the code behind cs page.

Any sites out there tell how to do that? And give good examples.

I used to use that same signature many years ago.

Thanks
Andrew