|
Did you set "AutoPostBack" to true in the properties of ListBox?
What error are you getting?
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you.
|
|
|
|
|
I am not getting any errors. But it just not working. I tried the following code also. But of no use.
Protected Sub lstselectedtest_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles lstselectedtest.SelectedIndexChanged
Dim test As String
test = lstselectedtest.SelectedItem.ToString()
If test.StartsWith("Pulse Pressure") = True Then
Tbpulse.Visible = True
bindlist()
Else
TbOth.Visible = True
End If
End Sub
Chaitra N
|
|
|
|
|
As I wrote: Did you set "AutoPostBack" to true in the properties of ListBox?
You have to set this property to true to fire "SelectedIndexChanged " event. Set the breakpoint to this event and check whether this event is fired or not.. if it is not invoked, you need to set AutoPostBack property to true..
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you.
|
|
|
|
|
I set the AutoPostBack to "True". It is working now. Thank you.
Chaitra N
|
|
|
|
|
Hello all,
How i can write a connection for connecting to SQL Server via a button .i want connect to my sql via double click on my button in ASP via C#.net, that when i click on a button my information comes from my database.
thank you.
|
|
|
|
|
I assume you mean ASP.NET, they are different things.
You are asking about SQL Server, or My SQL ? In both cases the answer would be that
1 - web sites do not support double clicking
2 - the core of what you want to do is well and widely documented, have you tried google ?
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hello,
thanks for your response,
but my purpose from double click was :i want connect to sql server when i click on the button in my site.i know how i connect to sql server for a page that my information be in my page from sql server, but i don't know how i obtain my information from sql server, when i click on my button .
i double clicked in my design page on my button but i don't know what i must write there my purpose is here :
protected void btn_Click(object sender, EventArgs e)
{
}
thank you
|
|
|
|
|
I am using LoginName control inside LoginStatus control. Plz tell me how can i redirect LoginName Value to another aspx page.
Regards Ahmad
|
|
|
|
|
either u can store the login name in any session variable eg. session("LoginName") = loginname.text this will vailable u on any page.
|
|
|
|
|
hi friend's
i have an array with special size such as 10
and the problem is that i want to resize this array without loosing data of this array.
and i can't...
sample:
my array is :
1 ,2 , 3 , 4, 5 {size:5}
and after running my project and after clicking the special button i want to have an array like this:
1 , 2 , 3 , 4 , 5 , , , , , {size=10}
thank you.
msma
|
|
|
|
|
|
thank you
but my array is very large
my array size is 1500 that will increase to 15,000,000 cells and i have to work on this array 1,000,000 times.so i must to declare this array once time with 15,000,000 cells or i increase that size when is need.
with your method, i need a super mainframe for compute...
thank you.
msma
|
|
|
|
|
Use the List class, which is a dynamic array. Arrays can't be resized, you can only create a new array and copy elements from the old one into it.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hello all,,
i need a Contact List Grabber/importer for ( ASP.NET )
How To import (Hotmail, Yahoo, Gmail, AOL) Contacts...??
Like when you want to invite your friends to websites like (Facebook,, Hi5,, Myspace)
you enter your email and password.. and the script Get's your Contacts... and send them a invite Or Check "Who Is In!" ...
this is a sample of what i need but it's not FREE:
http://www.contactimporter.info/index.aspx
Thanks...
Monir Kh. Abu Hilal
============
Programmer ,, WebDeveloper & WebDesigner
============================
Website : http://www.monirabuhilal.com/
|
|
|
|
|
|
Have you got any solution for this. I have the code to import (Yahoo, Rediff, Outlook, Gmail, Hotmail and AOL) but it is showing some issues with the hotmail and aol. Can you help me out for correcting this.
|
|
|
|
|
Hi,
I am working on Marriage agency website where uploaded images to be saved in database in binary format. and on other page I want to retrive that images in gridview.
Can any one give me idea and sample code ?
Thanks in advance.
|
|
|
|
|
hi
you can load your picture from your database on the another empty page and in your gridview you must to addressed this page instead of the image url
in the other word:
you have to first load your picture from your db and write on the empty page with response.write() command for starting and response.end() after the write and then this page is your loaded image and use this and enjoy.
msma
|
|
|
|
|
Hi fellas.
I am currently working on a website for my project. I am trying to create a settings page where users can change the color schemes (via css) of the page via a dropdown menu.
My question is after the user has inputted the color schema, or in other words, the appropriate css file to load, how do I load that particular css file to the current page?
And even if I managed to load it to the current page, the entire site is supposed to use that particular css file. How do I ensure that?
Thank you and looking forward to your replies!
~A confused and desperate newbie.
|
|
|
|
|
|
Hello,
I have very basic questions:
a) How data is trasnfered from client to server and vice versa on Internet.? Is it binary format or something else....
b) Where viewstate is stored? Is it on server memory?
c) Type are stored in which namespaces? Is it system?
Thanks!!
Thanks!!
|
|
|
|
|
Amit Kumar G wrote: a) How data is trasnfered from client to server and vice versa on Internet.? Is it binary format or something else....
Data is transferred on HTTP (Hyper Text Transfer Protocol) which sits on top of TCP/IP. As the name suggests it is a text based protocol.
Amit Kumar G wrote: b) Where viewstate is stored? Is it on server memory?
On the page. While the server is processing the page a copy be held in the ViewState property.
Amit Kumar G wrote: c) Type are stored in which namespaces? Is it system?
Types in general? Or the Type type. There is a class called System.Type. But types, in general, are placed in the namespace in which they were defined.
-- Always write code as if the maintenance programmer were an axe murderer who knows where you live.
Upcoming FREE developer events:
* Glasgow: Agile in the Enterprise Vs. ISVs, Mock Objects, SQL Server CLR Integration, Reporting Services, db4o ...
* Reading: SQL Bits
My website
|
|
|
|
|
I download one Malayalam unicode font and install it in the windows fonts.i could see this font in the word,but i cannot change the words to this font.My question is how we can use the unicode font in our webpage.i want to show some text in Malayalam,i had given the font for the Textbox is this Unicode font and when i open the webpage what all letters am typing in the Textbox still showing in English.suppose if we are using some unicode font in the webpage and when the people are opening the webpage will they get words in this font.how we can show a text in unicode fonts without installing the fonts in the clients machine.Because the contents every week it is changing so administrator has to do the changes.
|
|
|
|
|
Hi everyone,
I want to develop a simple text editor where i can change text, images,hyperlink,font & color using ASP.NET(C#) 2005.
please show me some code with little explanation.
Waiting for positive reply.
Regards,
ASIF
asif
|
|
|
|
|
bhuraasif wrote: show me some code with little explanation.
Most code I've seen has little explanation. People really need to learn how to document code.
-- Always write code as if the maintenance programmer were an axe murderer who knows where you live.
Upcoming FREE developer events:
* Glasgow: Agile in the Enterprise Vs. ISVs, Mock Objects, SQL Server CLR Integration, Reporting Services, db4o ...
* Reading: SQL Bits
My website
|
|
|
|