|
OK, this isnt a fix to your problem but an alterntive solution.
Try the ajax cascading dropdown, very useful for what you want
http://www.asp.net/ajax/ajaxcontroltoolkit/samples/CascadingDropDown/CascadingDropDown.aspx
We are not a Code Charity
|
|
|
|
|
Have you set a breakpoint to see why it's not working ?
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Populate 2nd drop dowl list in the selectedIndex Chnage event of 1st drop down list
And also check whether AutoPostback is set in 1st drop down list(i.e AutoPostback = true)
Thanks,
Arindam D Tewary
|
|
|
|
|
Meax wrote: param.Value = DDLFruitCat.Text
What is DDLFruitCat object? is It TextBox?
regard
kHan
please don't forget to vote on the post that helped you.
|
|
|
|
|
DDLFruitsCat_SelectedIndexChanged
It is a DropdownList only
|
|
|
|
|
S herin wrote: It is a DropdownList only
He has only two dropdownlist. one is DDLFruitsCat and second is DDLFruit.
and I asked about DDLFruitCat.
DUmp...........
please don't forget to vote on the post that helped you.
|
|
|
|
|
You are right
But will anybody use DDL(DDLFruitsCat) for a textbox.
May be.....
|
|
|
|
|
ROTFL !!!!
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
what does this mean?:
Christian Graus wrote: ROTFL !!!!
We are not a Code Charity
|
|
|
|
|
Not an ASP.Net question
Roll On The Floor Laughing
|
|
|
|
|
Where you are calling GetFruitsCat()
If it is in pageload, That will be a problem.
|
|
|
|
|
You are right. If he calls it in page load, every time, then his selected index will reset to 0
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
ya, it is in pageload.
but now i am using this
<br />
If Not Page.IsPostBack Then<br />
GetFruitsCat()<br />
End If<br />
and it is working correctly
|
|
|
|
|
hello
i am getting a string from some where .
and showing that in a editor.
but if that text is not well formated in html then editor is not working .
so i want to check that string is well formated in html or not.
Rajeev Kr. Sharma
VRI Software Pvt.Ltd.
New Delhi India
HumOnline.com
Stay Connected
|
|
|
|
|
One way would be to write some regular expression to validate whether string is in valid format.
Thanks,
Arindam D Tewary
|
|
|
|
|
hai,
many of the coding to UPLOAD EXCEL TO DATABASE consist of intermediate conversion (.csv) and uploading data from .csv file to database.
There is a way to upload data directly from EXCEL to DATABASE. But many programmers not following it. why?
What are all the advantage for the "EXCEL --> CSV --> Database" process?
What are all the disadvantage for the "EXCEL --> Database" process?
Thanks in advance. - KARAN
modified on Thursday, June 26, 2008 5:14 AM
|
|
|
|
|
Excel can read a csv, and a csv is just text. This means you can put it in your DB as text, and search it. An xls is a binary file, you can insert it, but not search it.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
If the excel file contains any alphanumeric characters, it will be diffcult to read the data to database. For eg. If a column in excel contains a mix of both alphabetic and numeric characters, the data will not read to dataset and thereby to database.
Eventhough there are a couple of workarounds for this which is difficult to implement sometimes, it is very easy when we convert the file into csv file. Any types of characters in csv file will be read to database without any issue.
Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.
|
|
|
|
|
This is my Login Page URL
http://localhost:3271/NocSystem/LoginPage.aspx
This is my Admin(Home)Page URL
http://localhost:3271/NocSystem/AdminPage.aspx
If i copy & paste the home pages URL with another Browser it is loading.I want to avoid that.Because if one of user got that URL he can easily access to my web base system through my web server.I'm developing this system to run @ my office's web server.
If one of user copy and paste that URL i wanna redirect to my Login Page.How can i do that...?
CheeN
|
|
|
|
|
1)Add a session in the login page.
2)Check for the session in all other pages.
If session not available redirect to login page.
3)Remove the session at logout.
|
|
|
|
|
Thankx $herin...REally thankx... i got it....wow....wwww
CheeN
|
|
|
|
|
|
Use Authendication
Sathya
|
|
|
|
|
have you checked out the custom asp.net login control, you can do the sort of thing you are asking for with that i think
We are not a Code Charity
|
|
|
|
|
I want some code to run on a web server at specified times compared to it only running when people visit the website.Basically i want to check the expiry date of the customers which is in database and send mails automatically, So how do i do it.Server is hosted by some third party which holds other sites also.
coolsatty
|
|
|
|