I want a javascript on a databound row to act on another control in the same row - show/hide for example. The classic ASP approach was to number the controls (usually by rowIndex so that they're easier to reference. I am wondering is there a way to do this in ASP.Net without writing any item command code?
So for html to render as follo...
I'm not sure if I'm asking the right question.
We have a web app that we're trying to have a 3rd party POST to. We're creating a special landing page for them to which they can submit the data we need via POST.
I'm not sure how to respond to their request, which I assume I handle as an incoming HttpRequest. Do I process their data ...
I have MySqlMembershipProvider working with Asp.Net MVC. My question is how can I configure the table prefix... so instead of 'my_aspnet_' prefix on the tables, I want this to be either none or defined by me.
My web.config:
<?xml version="1.0"?>
<add name="ApplicationServices" connectionString="server=localhost;user id=root;P...
I'm wondering if anyone has implemented a web UI on top of the AdventureWorks database? IOW, I'm not looking for just a application data layer on top of the schema. Rather, I'm wondering whether anyone has created an ecommerce front end on top the AdventureWorks schema?
...
I have an ImageButton and a FileUpload controls in a child page of a master page. I would like to achieve something like when user click on the ImageButton, the browse file window will pop-up like what we did when we click on the Browse button of the FileUpload control.
How can call the browse file window of the FileUpload control when ...
Hi Team,
I have a RequiredFieldValidator applied for a text box. This text box entry is mandatory only if a radio button is selected(rdbDetail). When the page loads, the rdbDetail will not be selected and hence the Validator should not fire. (There will be another radio button selected by rdbSummary.). I am using the following javascri...
I build ASP.NET websites (hosted under IIS 6 usually, often with SQL Server backends and forms authentication).
Clients sometimes ask if I can check whether there are people currently browsing (and/or whether there are users currently logged in to) their website at a given moment, usually so the can safely do a deployment (they want a h...
I wrote a page Page method in my aspx page. in web service method I need to call FindControl method return textbox and get text box value. But my findControl will take MasterPage object to iterate.
Please see my code
<script type = "text/javascript">
function ShowCurrentDateTime() {
$.ajax({
type: "POST",
...
Hi All,
I am retrieving data from sql database. I want to split the records and binding it in three different grids. Everything is working fine before applying paging. I am getting The data source does not support server-side data paging. error
Code:
DataTable StoreDisplayTypeList = storeDisplayBL.GetStoreDisplayDetails();
...
Hi
In my website when deploying production most of the time I only need to deploy bin folder and just marker files if new pages added.Since my website contains gigabytes of images folder and static stuff not updates frequently, it takes ages to complete a one publish cycle in visual studio website publish feature is there workaround to...
I have a .aspx file and would like to add some HTML to it. The problem is that it can't be modified. If I upgrade the product, this .aspx file will be overwritten and my modifications would have to be done again.
This is an open source product, so I can have a look at the codebehind. Again, I cannot modify it because that would break m...
I'm using .Net 2008 and Oracle 10g as my database. The problem I'm getting is after deploying the application in IIS, when multiple users access the same page at a time i'm getting the error. Can't get the output.
Note: Both the users accessing the same page, same menu at a time.
How can I resolve this?
...
Here is the situation:
I have a ListView showing just a list of concatenated strings obtained from different field of the objects of the datasource.
A LinkButton (with CommandName="Edit") in each row
Event handlers for OnItemDataBound and OnItemEditing
A UserControl in EditTemplate.
Now the problem is, I don't know how to use Bind e...
My ASP.NET application return PDF file to user using code below
Context.Response.Clear();
Context.Response.ContentType = "application/pdf";
Context.Response.TransmitFile(optionEntityCmd.PathToSave);
Context.Response.End();
This code show Save As browser dialog, is it possible instead of Save As dialog load PDF file directly in browser...
Hi Everyone, please help me.. i want to create flash file, that will load images from microsoft SQL server 2008. i am using ImageRequestHandler.ashx to get images from database and pass it into flash.
ImageRequestHandler.ashx file
public class ImageRequestHandler : IHttpHandler
{
public void ProcessRequest(HttpContext...
What is the best method/technology to sharing the same data access layer between WPF, Silverlight, and ASP.NET?
I am using ADO.NET Entity framework, and was thinking of a creating a DAL using the Repository pattern.Then using the RIA Services as a dummy middle man to connect Silverlight and ASP.NET. Is this a solid plan or are there ot...
How can we use required field validator on User Control in aspx page*strong text*
I have one user control that have one drop down. I am using this control on my page. I want to use required field validator on this drop down.
Please give me reply. How can I use?
...
hi folks
I need some jquery code in my application I have a button on the page and I want to handle it by jquery when the user click on it to show a confirmation dialog for example Are you sure? yes|no buttons but this is an asp.net button inside the updatepanel and in the other side I have some server side code to delete a record from...
I have a requirement (at the least possible cost, be that custom dev or 3rd party product) to take an XML schema (which is subject to regular change) and surface a UI to this through SharePoint 2010.
The UI cannot require manual changes when the XML schema changes. So in some way the UI needs to be dynamically generated from the schema...
Even though "Text" property is set to Text=""
asp:TextBox MaxLength="256" runat="server" ID="passwordTxt" TextMode="Password" Text=""
I also tried this on Page_load :-
passwordTxt.Text="";
I am still seeing 5 dots in the Password text box..How to make it go away ? Why is it there anyway ? like why ?
[EDIT]
I was not able to se...