13,936 Topics
![]() | |
Add More parameters on Select method I need to 1) add a string "All" on top of my dropdown. 2) Add "MyState" parameter on Select Method of object Datasource. 3) On "ddlSt_SelectedIndexChanged" event I need to pass selected State Code to City drop down. pl. help. [code] STATE: <asp:DropDownList ID="ddlSt" … | |
This may seem like a simple question but I for the life of me cannot seem to get this working. I have an ASP page that I need to set a dropdown box to a value from sql. I have the dropdown getting filled from sql no problem. [CODE=c#] private … | |
i was trying to build a glossary section for a web. The idea for the glossary part is that, when users mouse over the term in the glossary section the meaning/definition of the term will appear. How this could be done? Do I need a database for easier maintenance rather … | |
Below error occur while deploying on server.while it work on local network . [COde]Server Error in '/' Application. -------------------------------------------------------------------------------- Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that <machineKey> configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used … | |
I have developed a aspx page to upload msi file to server ( by using fileupload control ) and install msi in the server. When i acess the web page in the server itself the msi installation takeplace. But when i access from a different machine installation will not start. … | |
Hi, i have a completed codes of a windows app which is used to retrieve data from a card reader. Right now i have to put it up into internet explorer. can i achieve this only by trying to copy whatever on my windows app onto asp? it's abit confusing … | |
I have an enquiry concerning office 2007 automation on windows 2008 64bit. Basically the issue is as follows: ยท I'm using office 2007 automation on windows 2008 64bit, my solution is using excel office automation (Excel interop assemblies) from a .Net managed DLL to export reports in excel format from … | |
Dear friends Since I am new to asp.net i have no idea in developing data entry form by using msflexgrid / datagrid. I like to use one of these control to create data entry form with the combo box option to select product name where user can enter more than … | |
hi, there , i am coming up with a login page and i am having error when i run the programme. It says [B][ICODE]'Invalid attempt to read when no data is present'.[/ICODE][/B] [B][COLOR="Green"]Session("ses_uname") = rdr("FirstName") + " " + rdr("LastName")[/COLOR][/B] [ICODE]Imports System.Data.Sql Imports System.Data.SqlClient Imports System.Web Partial Class _Default Inherits … | |
I have a wizard control. On one of its pages I have various controls like textboxes and checkboxes. Could anybody please tell me how I can check from my code (e.g. on Cancel) if the contents of the controls has been changed? I know how to check if each control … | |
Hello everyone, I'm developing a website in ASP.NET. I have a Gridview and in it two LinkButtons: [I]Details [/I]and [I]Options[/I]. When the user clicks on Details, I have to show a Formview with the Details information. This part is already done. The part that is being difficult for me is, … | |
Hi, I have a site that allows users to upload images. I am able to upload image, save to server, and display images right away. Problem is that the images dissapear after I navigate away from the site! I am using the file system to store images. You can view … | |
Had a repeater giving out an rss xml data feed, but it took too long to load, so I'm using an ajax incremental page loader and need to get the xml into an innerhtml format so I can write it back to the page's div tag via a web service. … | |
I have an asp.net application done in visual studio 2005. When I run the application from code, it rums properly but when I compile the site and run it from IIS there is an ODBCerror. The same is the case when I run the code from IIS instead of running … | |
I used AppendBoundItem in dropdown -but it keeps on adding extra list of data everytime I click does any one have any idea how to restrict it. thanks here's the code: [code] <asp:ObjectDataSource ID="SrcCty" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="stateTableAdapters.CityTableAdapter" > <SelectParameters> <asp:ControlParameter ControlID="ddlSt" Name="MyState" PropertyName="SelectedValue" Type="String" DefaultValue="null" /> <asp:ControlParameter ControlID="RBl1" Name="mytype" … | |
Hi friends... am uploading a image file to folder... and as show below am using using a panel with ajax pop up extender.. in that i added the textbox control and fileupload control... but when click the button to upload.. the textbox value will be null... so how i to … | |
Hello, I wanted to know as to how to pass an object of a class with a number of member variables across aspx pages. | |
hi how to write the code for active directory service.. to login into the web page. i am using c#.net.can u give me the idea. | |
Hello, I'm struggling with the following issue, and need help with it.. I'm using ASP.NET, and trying to create a primitive webshop. You "buy" services, not products, and you only need to buy them once, so I'd like to filter the cart to add an element only once, no matter … | |
I want to populate two combo boxes. One is showing customer data and second is showing the order no details related to all this cusotmer. there is relation of master detail. on changing master record in first combo page refreshes and a postback is called and second combo again populate … | |
Hi All, I need to send email from a C# application from localhost. I was successful in sending email using gmail SMPT port and host. But i need send email from local host SMPT virtual server. I followed the steps explained in [url]http://forums.asp.net/t/268037.aspx[/url] and [url]http://weblogs.asp.net/steveschofield/archive/2007/08/15/send-email-from-your-local-machine.aspx[/url] but the mail was not … | |
Hi! I have a server-side button_Click event handler that generates an Excel file and downloads it to client with Response.AddHeader(...); Response.TransmitFile(); I want to refresh a page after the download is complete, but i don't know how to do it - things like ClientScript.RegisterScriptBlock(..., "alert('hi');"...) don't write anything to the … | |
Iv'e been searching this website forums for the right answer but i didn't find. Im using VS2008 and want to build some application that working with microsoft access database. in the database i have one table call "customers" with the coulmns = "firstName", "lastName", "address" etc.. I want to make … | |
I am trying to write a page that requires a Pass/Fail for conditions that are done everyday and then posting them to a database. The problem I'm having is the validation of the checkboxes. Find the code below: [code=html]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta … | |
Hi there folks! Please could anyone tell me how I can disable the underline of a hyperlink button server control of datagrid and similar controls ? I had used the following css code on the ItemStyle-CssClass which works for traditional hyperlinks to no avail. Thanks for the help:) [CODE] .tablecellhyperlinks … | |
Hi, I have a Button inside of a GridView, inside of another GridView. The higher gv is filled with a dataset, and in the RowCreated event I fill the second gv, and finally, in the RowCreated event (handler added in the RowCreated event of the first gv) of the second … | |
I need a comments box where users can use a name textbox to input their name and a comments textbox where they can input what they thought about the site or something they need and then a fixed area of text being displayed on the site. An example (Request Layouts): … | |
Please help me, i tried to pass information from detailed view and to another detailed view in another page. I put this code in the first page [code=asp.net] protected void ViewRemuneration_Click(object sender, EventArgs e) { //Button ViewRemuneration = (Button)sender; //string sendID = ViewRemuneration.ID; Response.Redirect("Remuneration.aspx?employeeId=" + DetailsView1.SelectedValue); } [/code] and to … | |
Has anyone tried to write [URL="http://support.microsoft.com/kb/307398"]this tutorial [/URL]using VC++ 2008 Express? The article claims to be written with VC++ 2005. But I thought 2005 and 2008 used compatible versions of CLR language. I'm getting all kinds of compiler errors -- for example [icode]String* str;[/icode] instead of using [icode]String^ str;[/icode] and … | |
What is the lifetime of session variables in a asp.net application.. Also can someone give me any links to good articles on session variables in asp.net which give information on advantages and disadvantages of using the same. | |
I need to show a message as a label whenever user selecct To year less than from year. I have created a label "lblYrChk" --doesn't work . what i am doing wrong. Pl. help. [code=asp.net] <asp:ObjectDataSource ID="Srcfmyr" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="HITS.App_code.stateTableAdapters.SOURCE_YEAR_VWTableAdapter"> <SelectParameters> <asp:ControlParameter ControlID="RBl1" Name="myType" PropertyName="SelectedValue" Type="String" DefaultValue="G" /> </SelectParameters> … | |
On [URL="http://www.oxonacf.org.uk/test.aspx"]this test page[/URL] I intend that if you press the Enter key with focus in TextBox1, Button1_Click will fire, whereas in TextBox2, Button2_Click will fire. This is not working in IE8 or FF3.5. Any ideas? [code]<%@ Page Language="C#" AutoEventWireup="true" CodeFile="test.aspx.cs" Inherits="test" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" … | |
Helo everyone, Image a website on server 'A' using windows authentication. A user 'Bart' has access to the website and also full access (read, write, delete, execute) on a folder located on server 'B' (\\B\data for example). Will Bart be able to upload files to that folder thru the website … | |
Hi , I am using a gridview to bind values from two tables to checkbox. The tables are category and subcategory . I am using Item Template to bind the values to both the checkboxes. The problem has to do with the data binding... The first checkbox lists categories and … | |
I have a wizard control with two steps: Summary and Details. Within Summary, I have a gridview. When I click on the gridview column's header to sort the data, for some reason I am redirected to the next, Details wizard step. Could anybody please tell me why it happens and … | |
Could some one please help me with the understanding how to pass the values to a drop downlist? What i am tring to do is pass a parameter (@Likethis) from a selected item in a list box or a dropdown to a dropdown or a list box. I am assuming … | |
Hello, I am writing a Form that is to be in three parts. 1. Date Selection 2. Report Selection 3. Report Display The way this should work is as follows. 1. User selects a date from section one 2. Section two updates to show a list of reports made on … | |
Hello, Hii everybody, i want to know how to get live video stream from our web-cam in to our web-page in asp.net ? thanx in advance! | |
Good Day All After Binding my Grid with 3 Columns , i found out that it Duplicates the Columns Twice. like this [code] Activity || Staff Member || Cycles || Activity || Staff Member || Cycles || Activity || Staff Member || Cycles =============================================================================== C[1] || DR Vuyiswa || Year … | |
hi every body i am using three dropdownlist for search criteria , the problem is when dropdown idex is selected the dropdown itself will disappear,because the page is getting refereshed every time when i select dropdown thwe index value will be 1. pls help me out. i attached the code … | |
Hi all i have checkboxlist populated from a table in database.now how can i store only checked items to database. | |
hi, there, i am doing a and it needs login page. I have a 2 textboxes, one for user id and the other for password. Using this two textboxes, I need to identify the three roles that i am using. This includes manager, delivery boy and customer to redirect to … | |
hi, Where can I practice 70-536 and 70-562 tests online ? Thanks for ur help in advance | |
Hi there, Is it possible that two user's use same application with different computers and somehow one's session data getting overwritten with others? I am not having any code error anywhere but somehow one's data getting overwritten with others. Please help me because I am trying to solve this error … | |
I have business requirement and i need to diplay records of data in certain format. My problem is as below: I have database with two tables names "Restaurant" and "Restaurant_Associates". "Restaruant" table stores list all the restaruants available in town wheres "Restaurant_Associates" sotres the list of associates for particular restaruant … | |
...hope some body can help me resolve the problem....where i have to update a particular data , the datas are retreived from the db using a dropdownlist,selected data are updated inside a textbox........... .....where there are constraints set by validators for space and !^#$%&*^----charaecters: My problm is data is not … | |
Hi All, it's me again :) How can I attach MySQL to my ASP.Net application? I want to create user table in MySQL and then use the login controls in my application to give the user access and different roles? Thanks in advance! Donish | |
Hi guys if i use the asp.net to write the code but i didnt involve to connect to the sql database what should i write in the web.config under the connection string?? | |
Hi, i got a problem that is i create a program based on pervious program that do from others. Now i using the asp.net to create and the sql express 2005 to do it. So the question do anyone know how to open the mdf(master database file) file. I try … | |
Hi guys do anyone know how to change the code line from sql express to ms sql 2000. Below is my code help me to check it? web.config [CODE]<?xml version="1.0"?> <!-- Note: As an alternative to hand editing this file you can use the web admin tool to configure settings … |
The End.