|
Remove it with javascript.
Christian Graus - Microsoft MVP - C++
"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 )
|
|
|
|
|
Yes.....but how to that?
Is there any samples? I havnt found any.
|
|
|
|
|
try and find the value in the dropdown list or by finding a value which has select in, then you can make this invisible
|
|
|
|
|
http://www.w3schools.com/js/tryit.asp?filename=try_dom_select_remove[^]
So, call a variation on this code when the drop list is opened, but have it look for the item you want to remove the first time and remove it only if it's there.
Christian Graus - Microsoft MVP - C++
"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 )
|
|
|
|
|
Thank you very much!
I'll try this...
|
|
|
|
|
I am using a datalist in which i want to bind some data from database on page load..
I am using the following code for doing this...throws an error saying
Compiler Error Message: CS0029: Cannot implicitly convert type 'System.Data.DataSet' to 'System.Web.UI.WebControls.DataList'
Source Error:
Line 29: cmd.CommandType = CommandType.StoredProcedure;
Line 30: SqlDataAdapter adpt = new SqlDataAdapter(cmd);
Line 31: ds = new DataSet();
Line 32: adapter.Fill(ds);
Line 33: conn.Close();
Please help me...?
SAJAN A PILLAI
ASP.NET,C#.NET Programmer
dWise Solutions and Services Pvt Ltd.
BANGALORE
"Winners don't do different things. They do things differently. ...
|
|
|
|
|
hii
show me your code where u assign dataset to datalist
your connection And filling dataset from storeprocedure is right..
Jintal Patel
|
|
|
|
|
Might be this is not error source code
Where are you binding your dataset to datalist control ?
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
Its working fine but i want to paginate it...
is there any possibility that i want to show only 5 records in a page...
SAJAN A PILLAI
ASP.NET,C#.NET Programmer
dWise Solutions and Services Pvt Ltd.
BANGALORE
"Winners don't do different things. They do things differently. ...
|
|
|
|
|
Just google for pagination you will get lot of articles
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
Line 29: cmd.CommandType = CommandType.StoredProcedure;
Line 30: SqlDataAdapter adpt = new SqlDataAdapter(cmd);
Line 31: ds = new DataSet();
Line 32: adapter.Fill(ds);
And
Then plz type
DataList1.DataSource=ds
Datalist1.DataBind()
Line 33: conn.Close();
Raghvendra
|
|
|
|
|
Hi friends,
Does any one knows any idea about
how to List your items to Bizrate/Shopzill.com
Thanking you,
Laxmikant Lad
|
|
|
|
|
I would say at a guess that whatever the process is, it doesn't involve ASP.NET.
They have a merchant login, that seems a good place to start.
Christian Graus - Microsoft MVP - C++
"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 )
|
|
|
|
|
I have used c#, vs2005 . I have created a pop up calender using javascript in asp.net but couldnot pass selected date into parent form. plz help me how can i achive this
|
|
|
|
|
It's hard to know exactly what you're asking. If you want to pass the data back to codebehind, put an asp control on your form, a hidden control is best, and use javascript to write the value selected in the date picker into that control, so you can get it from the code behind.
Christian Graus - Microsoft MVP - C++
"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 )
|
|
|
|
|
perhaps this could help you...
href="javascript:show_calendar('frmName.txtDate');" title="Calendar"
Thanks & Regards...
Amit
|
|
|
|
|
How to draw a transparent rectangle on an image ? By dragging mouse on the image rectangle should be drawn.
Is there any javascript for this.??
|
|
|
|
|
I assume the way to do this would be to create a transparent div and to size it with the mouse.
Christian Graus - Microsoft MVP - C++
"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 )
|
|
|
|
|
Mak a css class f div and and se the property 'opecity '
and u will do it
ex opecity:70%
Raghvendra
|
|
|
|
|
Hi,
I am planning to develop a commercial web application on document management system by using ASP.NET and have following questions,
1. In J2EE, there are the J2EE server such as BEA server, and
in .NET what is the corresponding technology for web application server ?
Is that just develop .NET code and run on Microsoft Window Server ?
2. How does most commercial company deploy their web applications for their clients ? Just let their clients install and setup all stuff or the company install web apps for their clients directly ?
3. Is there possible to group all asp stuff in a .exe so that it run and deploy all stuff on the server for the customers ?
Thanks
|
|
|
|
|
IIS is a web app server, it comes with certain editions of windows.
Yes, it comes with Windows Server.
dolphinhk wrote: How does most commercial company deploy their web applications for their clients ?
It depends, I guess, on the company. I'd say most just provide an installer.
dolphinhk wrote: Is there possible to group all asp stuff in a .exe so that it run and deploy all stuff on the server for the customers ?
you can put it in an MSI, but I think the user still needs to set up IIS.
Christian Graus - Microsoft MVP - C++
"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 )
|
|
|
|
|
Hi,
Are there any free sample code on document management system or content management system ? I think for web application development, mostly many projects are about similar topics, such as CRM, CMS, ...., so there should be some common grounds for most projects and reference code should be available such that we don't need to re-invent the wheels.
Thanks
|
|
|
|
|
Microsoft have a number of frameworks which probably come with sample code.
Christian Graus - Microsoft MVP - C++
"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 )
|
|
|
|
|
How to pass values between user controls in same Asp.Net page ?
Thanks in advance!
|
|
|
|
|
Use Properties to set or get the values between UserControls.
|
|
|
|