|
You can put a label in the template column , and onclick event of the label show the dropdown
|
|
|
|
|
You add EditTemplate Item with that template field.
there you can add a drop down and bind the values
in grid view Edit event
|
|
|
|
|
Hi,
Is it possible to bind all the columns in a data table to a dropdownlist? ex, I have the below table, I want to bind all the columns except ProductID column to a dropdownlist and when user select product from the list I need to get the productID.Can any one suggest me.. If not possible in dropdown is there any alternative method to meet my requirement? am using vs2008 asp.net and C#
ProductID Product Name Version Platform
111 Madeira 2.0 windows
222 Amazon 1.1 windows
333 Madeira3 2.1 Lynux
|
|
|
|
|
Loop the datatable and Append All the values expect productId into string
.Use this string as DataTextField anf ProductId as DataValueField
|
|
|
|
|
thanks for your suggestion. I have hundreds of products in the table. Is there any possibility to have scroll bar in the dropdonwnlist.
|
|
|
|
|
When you click on the arow in the drop down list , it will be shows a list of items with scroll bar. am i right?
|
|
|
|
|
|
Then why should you need a scroll bar in dropdownlist?
|
|
|
|
|
when the dropdownlist gets too many items in it the user cannot select the bottom ones (the bottom goes below the screen area). How do i put the scrollbar in the dropdownlist?
|
|
|
|
|
scroll bar is coming automatically when items are more...
|
|
|
|
|
Hi,
We can put dropdownlist into a panel
kannak
|
|
|
|
|
hi,
I am passing values (as list object) to flex using webservices.
I am getting problem in assigning these values to combo box in action script.
my code....
private function Getemp(event:ResultEvent):void
{
cb.dataProvider = event.result;
cb.labelField = "@empname";
cb.data = "@empid";
}
any suggestion on this...
|
|
|
|
|
How to import email id or contacts from other domain for ex. say from rediffmail,AOL mail,gmail,etc in asp.net c#?
|
|
|
|
|
|
I used below code to display some data using crystal report.i used separate dataSet() object and connected it to the crystal report setDataSourse.
There are no compile errors,but after running it gives me the error
"Load report failed".
plz help..
The code.
String ConnectionString = ConfigurationManager.ConnectionStrings[0].ConnectionString;
SqlConnection con = new SqlConnection(ConnectionString);
SqlCommand com = new SqlCommand();
SqlDataAdapter da = new SqlDataAdapter();
DataSet1 dataset = new DataSet1();
com.Connection = con;
com.CommandText = "Select * from tbl_test_ForumList";
da.SelectCommand = com;
try
{
con.Open();
da.Fill(dataset, "Query");
}
finally
{
con.Close();
}
ReportDocument myrpt = new ReportDocument();
myrpt.Load(@"D:\ssp_vir\Forum5\Interfaces\Common\ExamResults\Results.rpt");
myrpt.Database.Tables[0].SetDataSource(dataset);
CrystalReportViewer1.ReportSource = myrpt;
CrystalReportViewer1.DataBind();
|
|
|
|
|
This error comes whenever Crystal Report Engine cannot load the Rpt properly.
make sure that path of Results.rpt is correct. Also check if ASPNET account has permissions to open the file. Folder from which the file is read, should have permission set for ASP.NET
|
|
|
|
|
hi all
i'm new to ASP.Net
I'm a having a problem publishing a site on an ftp server
i've created a simple site which works locally on my computer.
after I published the site I can see my files on the server
also I see inside the bin folder a strange dll ( doesnt know where it came from)
called 'App_Web_bp2muayj' (each time I publish my site I get a different file there)
when I try to open my site from HTTP I get the following error:
"Could not load the assembly 'App_Web_bp2muayj'. Make sure that it is compiled before accessing the page"
I tried deleting the file, and still got the same error.
also tried to delete the ASP.net temp files and it didnt work.
what should I do ?
Thanks
|
|
|
|
|
|
hi Abhishek,
yes, I have a virtual directory
|
|
|
|
|
I think there are a number of issues for which LoadAssembly fails.
Do you have application pool defined for the Virtual Directory you are using is for .NET 1.1 and you have just published a new site in .NET 2.0.
If this is the case, please separate the application pool. Create one application pool for sites in .NET 1.1 and another for .NET 2.0.
IIS 6.0 cannot handle both of them simultaneously.
|
|
|
|
|
hi Abhishek
this is not the case.
the application pool and my site are both
using .NET 2.0.
Thanks
|
|
|
|
|
Hi All,
I have developed a html,css template. But, how can i use that(Template) to create a web application in asp.net. Do we need to create a user control?
Can any one let me know about it?
Thanks,
Fasttoshiba
modified on Sunday, December 13, 2009 3:14 PM
|
|
|
|
|
Just modify it with appropriate data elements.
There are large nos of templates available in market. Your work is to customize them according to your need
|
|
|
|
|
Hi,
I am an ASP.Net Developer and currently working on how to integrate to paypal payment service, and if how can I get the return value from paypal. How can I get return value like payment amount, subscription id, status verified or not verified, etc.?
Below is my source code. I hope you can help me modify my codes that fits to what I have mentioned above.
source codes: ASP.Net/C#
...
if (Convert.ToDouble(Session["PAmount"]) > 0)
{
btntest = btntest + "";
btntest = btntest + "";
btntest = btntest + "";
btntest = btntest + "";
btntest = btntest + "";
btntest = btntest + "";
btntest = btntest + "";
btntest = btntest + "";
btntest = btntest + "";
btntest = btntest + "";
btntest = btntest + "";
btntest = btntest + "";
btntest = btntest + "";
btntest = btntest + "";
btntest = btntest + "";
btntest = btntest + "";
lblResult.Text = btntest
}
hifiger2004
|
|
|
|
|