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.
0
votes
1answer
14 views
Get connection used by DatabaseFactory.GetDatabase().ExecuteReader()
We have two different query strategies that we'd ideally like to operate in conjunction on our site without opening redundant connections. One strategy uses the enterprise library to pull Database ...
0
votes
1answer
7 views
Web.config Module .net 3.5 WebProject
I want to deploy a module on .net 3.5 like in this thread : http://msdn.microsoft.com/en-us/library/ff709893.aspx
<module name="Module1" assemblyName="Module1" virtualPath="~/Module1">
...
3
votes
2answers
52 views
Object reference not set to an instance of an object when I try to join 2 DataTables
I'm trying to join 2 DataTables but I' m getting this error:
Object reference not set to an instance of an object
this is what I'm doing:
DataTable NodeDataTable = new DataTable();
DataTable ...
0
votes
0answers
7 views
prevent seemingly unnecessary TransactionScope promotion
We have two methods that select the appropriate database and/or connection based on HTTP headers:
public static Database GetDatabase()
{
String connectionName = ...
0
votes
0answers
4 views
InjectionConstructor .net 3.5
I change a website from .net2 VS2005 to .net3.5 VS2008.
I have Injection but its not working.
<InjectionConstructor()> _
Public Sub New(<ServiceDependency()> ByVal ...
0
votes
0answers
21 views
Change header class of sorted column
I am trying to add add a CSS class to the column header that the gridview is being sorted by. However, the class is not showing up. Here is my code:
Master page:
<asp:GridView runat="server" ...
0
votes
0answers
11 views
MVP CreateNew .net2 to 3.5 vb
I got a website on .net2 MVP VS2005. I try to made it work on my dev environnement VS2008 .net 3.5
I have a problem with the MVP.
I got a webPage MyPage.aspx.vb
Partial Class MyPage
Inherits ...
3
votes
5answers
43 views
List sorting compile error
I am trying to get an unique, alphabetized list of industry names (strings). Here is my code:
HashSet<string> industryHash = new HashSet<string>();
List<string> industryList = new ...
0
votes
0answers
19 views
vb.net 3.5 extension method compilation error
I am having issues getting my extension method to compile. I'm getting this error:
'EvalSubstring' is not a member of
'System.Web.UI.WebControls.DataGridItem'
I'm try to extend the ...
0
votes
0answers
12 views
Access is denied while executing aspnet_regbrowsers.exe
For one of our requirement, we had to modify the ie.browser and web.config files (%windir%\microsoft.Net\Framework64\v2.0.50727\CONFIG\Browsers and ...
0
votes
1answer
40 views
Get TextBox value from GridView cell
I have a GridView containing template fields. Each template field contains a TextBox. Last column of the GridView contains SELECT command field.
On click of SELECT, I want to get the value of TextBox ...
0
votes
1answer
17 views
How to EnableSSL for Health Monitoring Notifications E-mail?
We are changing our email to Office 365, which force me to EnableSSL when I send Email from .NET. Since our Intranet Web Application run under .net 3.5, it look like I cannot enable SSL for SmtpClient ...
5
votes
1answer
35 views
SelectedValue of DropDownList in Repeater
How do I set the selected item of a dropDownList inside a repeater?
The repeater is bound to the repeaterData DataTable and the dropDownList is bound to dropDownList DataTable in the code behind. I ...
4
votes
1answer
55 views
Get values of all checkboxes in repeater
When the user clicks a "Save Changes" button, I need to get the values of all the checkboxes inside a repeater. If I can't get the values, the ID is also ok.
Master page code:
<ul ...
1
vote
1answer
51 views
Add new line in image while writing on image
I am trying to write text on image, but my text have so many words and it is not fitting in single line. So I need to add the new line (some thing like wrap) on the image below is code I am using.
...
2
votes
1answer
67 views
UpdatePanel sometimes refreshing entire page
Even though I am using an update panel, sometimes my entire page is refreshed, and I can't figure out why.
(Edited to take into account Jason P's answer.)
Masterpage code:
<form runat="server" ...
0
votes
1answer
48 views
page.Validate() method does not works perfectly
I'm working with nested grid views. I have one grid view like service section which have two another section like it's features and charges. This two grid are nested child grid of service section ...
0
votes
1answer
95 views
Child Grid View's OnRowCommand not fired in Nested Grid View criteria
i m working with nested grid view scenario. how ever i found that my Child grid view's OnRowCommand not fired inside Parent grid view. i surfing and found one solution like.
After implementing this i ...
0
votes
1answer
56 views
Is it possible to fill two DropDown controls on same page using different threads?
I have multiple multi-select DropDown controls (user controls) on a page. Even though it is not a good practice to load thousands of items in a DropDown, but I can't change the existing project ...
0
votes
1answer
34 views
“Generation of designer file failed” when adding custom ExpressionBuilder tags to .ascx
I am making some changes to a user control (.ascx file) in my ASP.NET 3.5 web application project in Visual Studio 2008. I noticed that the changes I was making in the markup were not being reflected ...
0
votes
0answers
484 views
can't get textbox value from EditItemTemplate from Grid View
i have three grid view on one page. first GV_ViewServices for binding Services Details. Second is GV_ViewServiceFeature for binding Service Features Details as particular service. Third one is ...
3
votes
1answer
100 views
Using SlowCheetah Config Transforms on Web.config in a 3.5 Web Forms app
I downloaded SlowCheetah into an old .Net 3.5 web forms application in order to add transforms to web.config.
I've used SlowCheetah with Windows Services and Console Applications to transform ...
0
votes
0answers
20 views
How to minify AjaxControlToolkit script that was patched
I have patched a source of the AjaxControlToolkit using this aritcle. However, I need to make sure that the new assembly works in Release mode which then reverts to non-debug version of the script ...
0
votes
0answers
40 views
Adding DOCTYPE to xmlDocument with ASP.NET
I'm trying to add the line.
<!DOCTYPE itemDets PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "justBeliveMeThisIsAValidURLToA.dtd">
to an XML file that i have created in a web method using
...
0
votes
2answers
39 views
DB Date insert works sometimes
I have the following line:
command.Parameters.Add("@date", SqlDbType.DateTime, 8).Value = date_of_trip;
where date_of_trip is a string containing 25-9-2013 (i.e. day-month-year)
This gives me an ...
-1
votes
2answers
99 views
SQL self join query to LINQ query
I am bit stuck with the converting a SQL query into LINQ.Can any body please help me out.
here is my query
SELECT x.*
FROM FilterType x
JOIN (SELECT t.FilterType
FROM FilterType t
...
0
votes
1answer
124 views
Convert datatable/datarow[] column to int from string
I have a datatable with a column called "position" that is coming across as strings. I use DataTable.Select to get a list of data rows.
DataRow[] drTopMenu = dtMenuItems.Select("ParentMenuID is ...
0
votes
0answers
210 views
Update drop down using ajax drop down list event in asp.net
On the aspx page I have two drop down controls:
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<asp:UpdatePanel ID="UpdatePanel1" ...
0
votes
1answer
81 views
Error: The state information is invalid for this page and might be corrupted
I'm seeing the error:
The state information is invalid for this page and might be corrupted
On my page. Based on some reading, I gather that the error can occur due to several reasons, a and can be ...
0
votes
0answers
162 views
how to use existed Sequence number in C# Code to get auto increment in combination of two fields
I have created a stored procedure as:
ALTER PROCEDURE [dbo].[Budget_Details]
@Budget_Type varchar(10)
,@Item_Category_Code varchar (20)
,@Item_Description varchar(500)
,@Configurations varchar(500)
...