Questions tagged [asp.net-4.0]

This tag refers to the version 4.0 of the ASP.NET web application framework introduced with the .NET Framework 4.

Refers to the version 4.0 of the ASP.NET web application framework introduced with the .NET Framework 4.

1371 questions
0
votes
1 answer

How to get category name in Youtube API in ASP.NET4.0 application

I have implemented You-tube API in asp.net 4.0 application.I can access all other parameter except category. YouTubeRequestSettings settings = new YouTubeRequestSettings(ApplicationName,developerKey,myUserName,myPassword); YouTubeRequest request =…
Sukhjeevan
  • 3,074
  • 9
  • 46
  • 89
0
votes
1 answer

Loading several DropDowns on page load faster

I have several DropDown controls on a Web Form which are filled using AJAX call to a method in a class. I call methods as below: FillDistricts(); FillVillages(); FillTowns(); I thought these independent calls are creating too many round…
RKh
  • 13,818
  • 46
  • 152
  • 265
0
votes
2 answers

Extracting Data from listview

I have a listview "ListView1" and it is linked to my customer table on my customer mssql database. Now, I have added OnItemDeleting= "ArchiveBeforeDelete" to the Listview because I want the customer to be archived (moved to my archived customer's…
cb1295
  • 733
  • 4
  • 18
  • 36
0
votes
1 answer

how force an asp.net application in iis to show default browser login window for enter?

i installed php on my windows server 2008-R2 and every thing is ok about that on iis. i created a web site in iis (php) and put a simple script on it. i went to permissions of that web site and removed all permissions except administrators. now when…
SilverLight
  • 19,668
  • 65
  • 192
  • 300
0
votes
1 answer

How do I add to the html of a page from the codebehind?

I'm trying to POST a PayPal or GoogleCheckout "buy now" button from the code behind. I got this answer telling me to add to the current html page. But the code there doesn't work as is. The code there adds a literal with the following…
ispiro
  • 26,556
  • 38
  • 136
  • 291
0
votes
2 answers

How do I redirect with WebRequest?

I created a WebRequest to POST information. My objective is to emulate in C# a PayPal "buy now" button which is in html. How do I get the redirect when sending the WebRequest? Simply having Response.Redirect doesn't work because I have to have the…
ispiro
  • 26,556
  • 38
  • 136
  • 291
0
votes
1 answer

Relationship between a canvas in silverlight and rectangle

I am new to silver light and would like to understand a bit more from the pros. Let me tell you what I am trying to do. I am into photography and my goal is to create a web site that allows users to view their images and be able to rotate, zoom,…
Saro Khatchatourian
  • 1,047
  • 3
  • 14
  • 24
0
votes
4 answers

What happens to an "input" on "submit"? And how can that be done by ASP.Net?

Possible Duplicate: Read Post Data submitted to ASP.Net Form I have a google checkout "buy now" button, and am trying to add dynamically created content to send when it's clicked. Using the original html is proving a bit difficult so I want to…
ispiro
  • 26,556
  • 38
  • 136
  • 291
0
votes
2 answers

How do I refer to an html id in code?

I have things like:
...
How do I refer to this form in my C# codebehind? I tried simply using "Form1" but it gives me an error. And googling hasn't helped either. What I'm trying to achieve is to enter the item name or…
ispiro
  • 26,556
  • 38
  • 136
  • 291
0
votes
1 answer

asp.net 4.0 - routing root pages and validator controls issue

I am simplifying my question: When I route all my .aspx pages on my web app root the following way in global.asax: routes.MapPageRoute("RootPages", "{file}", "~/{file}.aspx"); it all works fine as far as the routing goes, but none of my…
0
votes
2 answers

Grid View bound to SqlDataSource creating paging trouble

I am developing a web app using C#, .net 4. I have a grid view which is bound to a SqlDataSource. There are about more than one crore records of this data source. This is because, I have allowed paging. I have a filter criteria on the same page.…
Muhammad Qasim
  • 1,622
  • 14
  • 26
0
votes
1 answer

Async IO with HttpResponse Asp.Net pre-4.5

In particular, I'm after a similar capacity to Response.BeginFlush being introduced in Asp.NET 4.5 which uses I/O Completion Ports. I fear that this may not be possible because pre .NET 4 simply doesn't seem to expose enough to implement async IO…
Nadir Muzaffar
  • 4,772
  • 2
  • 32
  • 48
0
votes
1 answer

ASP.NET event handling

I wonder if there is any difference between two parts of code: //1 public partial class MyPage : System.Web.UI.Page { public override void DataBind() { base.DataBind(); this.myTableGrid.SetupDataSource(); …
Alexandre
  • 13,030
  • 35
  • 114
  • 173
0
votes
1 answer

componentone c1calendar display a popup calendar and set the selected date in the textbox javascript error

I am using this code to show a javascript error. function SelectDate() { var calendar = Sys.Application.findComponent("C1Calendar1.ClientID"); var input = document.getElementById("TextBoxDate"); calendar.popupBeside(input,…
jintha arun
  • 31
  • 1
  • 10
0
votes
4 answers

How do I show EmptyDataText only after the user submits the form?

I just created a basic ASP.NET website using Microsoft's walkthrough here. It has one page with a form that takes in some text input, runs a database query based on that, and results the results in a GridView. I added the EmptyDataText property to…
Nick Chammas
  • 11,843
  • 8
  • 56
  • 115