Questions tagged [asp.net-3.5]

asp.net-3.5 is the 3.5 version of web development framework asp.net, part of .Net. It features: ASP.NET AJAX as a part of the runtime, new LINQ data capabilities, improved support for CSS.

1125 questions
0
votes
5 answers

How can I create a subdomain in asp.net?

How can I create a subdomain in an asp.net C# application? I am working with an asp.net portal. In that portal I need to be able to create the subdomain at runtime. The ftp for that subdomain also needs to be the same as the main domain ftp.
JJ
0
votes
1 answer

Render a .NET Web Control from a string?

Is it possible in ASP.NET to dynamically load up a WebControl from a string with some tag contents in it (without writing a bunch of custom code)? For instance, I have a string like the following: string controlTag = "
ZeaL
0
votes
2 answers

Calling handler from jQuery doesn't work

I need to call a handler (ashx) file from jQuery to fetch some data at runtime. My jQuery function looks like: var pID = 3; var tID = 6; $("#Button1").click(function() { var urlToHandler =…
Devraj Gadhavi
  • 3,541
  • 3
  • 38
  • 67
0
votes
3 answers

IE9 randomly popping Windows Security Dialog when I send down a binary blob as a .xlsx

So on our website, we have multiple reports that can be downloaded as an Excel Spreadsheet, we accomplish this by reading in a blank template file from the harddrive, copying it into a MemoryStream, pushing the data into the template with…
Drogo
  • 117
  • 1
  • 4
0
votes
2 answers

Exception has been thrown by the target of an invocation - InvalidCastException in App_Code.dll

I have an asp.net application in which I am receiving the following error message: - Exception: System.Reflection.TargetInvocationException Message: Exception has been thrown by the target of an invocation. Stack Trace: at…
Neil
  • 163
  • 1
  • 2
  • 17
0
votes
2 answers

Adding a datarow from an existing table to a new table

Hi i want to add a datarow that im getting back from a data table to a new datatable this is the code im using: foreach (DataRow dr1 in dt.Rows) { string AptType = dr1["AppointmentType"].ToString(); if (AptType == "FreeTime") { …
kevinw
  • 103
  • 1
  • 2
  • 12
0
votes
1 answer

Do not bind empty string to Repeater Control

I am binding string array to the Repeater Control, string[] strPageSize = new string[25]; repPageSize.DataSource = strPageSize; repPageSize.DataBind(); .aspx Page Code
gofor.net
  • 4,218
  • 10
  • 43
  • 65
0
votes
2 answers

Unable to reference library in my code-behind

I'm attempting to use the following ExcelReader library: http://exceldatareader.codeplex.com/ The code example shows: //1. Reading from a binary Excel file ('97-2003 format; *.xls) IExcelDataReader excelReader =…
Curtis
  • 101,612
  • 66
  • 270
  • 352
-1
votes
1 answer

I have an issue with Getting and requesting XML Data from a http request

I have 2 questions on this My code always seems to hit a 401 forbidden error when I try to post data to a http link What is the best way to pull back and display xml data from the stream that I should be getting back?
kevinw
  • 103
  • 1
  • 2
  • 12
-1
votes
4 answers

asp:linkbutton not functioning in production

I've got an asp:linkbutton as follows: New Item Protected Sub lb_new_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles lb_new.Click …
Chains
  • 12,541
  • 8
  • 45
  • 62
-1
votes
3 answers

How find all the items of a list which are not in a generic list with multiple condition

I have a list "A" and a generic list "B". I need to find all the items of "A" those are not in "B" with multiple condition. List "A": EXWORK CENTAGES PREMIUM List "B": PARTICULARS CATAGORY DETAIL EXWORK ERECTION ABC CENTAGES …
sonu
  • 1
  • 2
-1
votes
3 answers

ASP.NET Membership Issues With Registration

I'm having a rough time with this membership stuff. OK, so, it's really odd. I can register a user. I can register, I can login. However, when I go to register ANOTHER user the user isn't saved in the database and I get a Membership credential…
Sara Chipps
  • 9,322
  • 11
  • 58
  • 103
-1
votes
2 answers

Converting a a line into an APP_Code

Can some please help me convert the line number 1 into an APP_Code for ASP.NET 3.5 LINE 1. RouteData RouteDatax = HttpContext.Current.Items["RouteData"] as System.Web.Routing.RouteData; I have tried convert the above code like below but it didn't…
dngo
  • 1
-1
votes
2 answers

Disable ValidateInput for a server control

- I'm using ASP.NET 3.5. I have a page in which i want to display a list in a formatted way:
scripni
  • 2,144
  • 2
  • 19
  • 25
-1
votes
2 answers

How to write database value in text file on defined format

I read a delimited text file into dataset. i am writing these dataset values line by line in another text file. my C# syntax is : try { DataClasses1DataContext db = new DataClasses1DataContext(); var r =…
shamim
  • 6,640
  • 20
  • 85
  • 151
1 2 3
74
75