Hello Friends & Experts,
I am having a little problem with my new Asp.net 2 website. Whenever I run
the website (in debug, or on server) a mysterious text is added to my URL
like this: -
http://localhost:1385/BlogAggregator/(S(mlsbaxvec14tfxigjuyhsi55))/Default.aspx
First the app loads ...
more >>
Avoiding "SelectedValue which is invalid because it does not exist in the list of items"
Posted by Dave at 6/29/2007 11:25:49 PM
Why doesn't this work?
My webpage changes databound items in a dropdown list depending on
what form the user selects. And the page needs to remember what the
user selected, and reselect the dropdown items between posts (using
selectedValue).
The problem is I get the above "does not exist" ...
more >>
Accessing Masterpage Variable
Posted by Al at 6/29/2007 11:13:44 PM
Hi,
I'm working on a site with master page with a few more pages that will show
up in the content placeholder. The master page has a few variables as
follows:
public partial class Main : System.Web.UI.MasterPage
{
DataTable objDT;
DataRow objDR;
. . . ...
more >>
Attribute 'ms_2d_layout' is not a valid attribute of element 'table'
Posted by CdnRebel at 6/29/2007 8:56:48 PM
Hi,
I got the above message on the code below. The code is in an ASP.NET program
(I think from version 1.1) and the error message shows up when I open the
file in Visual Studio 2005. I am new to ASP.NET and Visual Studio. Is there
another way to write that to get the same results? This is ...
more >>
Allow the user to select a folder
Posted by Kuldeep at 6/29/2007 8:34:19 PM
Hi all,
I have a requirement, where the user has to select a folder and all the
files in that folder have to be imported to my databse.
To acheive this i need a control which enables the user to select only a
"FOLDER", and does not expect the user to select a file.
When "html - fileInput"...
more >>
how to render <br> tag from a user control?
Posted by Steve Richter at 6/29/2007 7:47:40 PM
I am using HtmlGenericControl to render html tags like <div> and
<span>.
the problem is the <br> tag does not render correctly when I use this
method. ( it renders as <br></br>, which is seen by the browser as 2
consecutive <br> tags.
public class Html_br : HtmlGenericControl
{
pu...
more >>
Strange Characters in Asp.Net Text Box
Posted by shapper at 6/29/2007 7:24:44 PM
Hello,
I have a form which saves some data to an SQL 2005 database
If the text written in the text box contains characters such as
"=E7=E3=E1=E0=E9=ED" when I load the data again I get a few strange charact=
ers:
"=C3=A7=C3=A3=C3=A1=C3 =C3=A9=C3"
What is going wrong here?
How can I solv...
more >>
Code Coverage tools for asp.net
Posted by maralle.fakhereddin NO[at]SPAM gmail.com at 6/29/2007 5:19:13 PM
I am wondering if anyone knows of a good code coverage tool for
ASP.Net applications? I already looked at NCover, ANTS profiler and am
evaluating AQtime at the moment.
Any help would be great. Thanks!
...
more >>
Sticking the column names in the middle of a datagrid.
Posted by Mufasa at 6/29/2007 4:46:01 PM
I have a datagrid that get's longer than a page so when people scroll it,
the don't remember what the fields are. But they want all of the records on
the screen so that they can have IE do a find on the records. So I was
thinking of shoving the column headers in every x rows ( with different
...
more >>
How to download file
Posted by Tim McGavin at 6/29/2007 4:09:09 PM
When I make a link like this on my page...
http://www.domain.com/file1.smp
I get "page not displayed". The extension SMP is not a typical extension.
It needs to launch a local application. Similar to the way a DOC extension
would launch word.
Do I need to use ASP to do this? It seems...
more >>
Problem with Login Control
Posted by Juan Romero at 6/29/2007 3:54:39 PM
Hi Guys,
I have setup a SQL 2005 DB with ASP.NET membership tables.
Everything seems to work and I am able to connect to this DB (sitting in
different server) because the WSAT allows me to create users and roles.
However, when I place a login control on the application and hit the login
b...
more >>
Content-Type="Application/pdf" & Byte[]
Posted by Stan SR at 6/29/2007 3:02:42 PM
Hi,
I call a web service method that returns an array of bytes.
This array is a PDF document and I would like to display this array as pdf
document within the browser.
So I wrote this code, but I don't get my pdf
byte[] myPDF = myWebService.GetDocument(pdfID);
Response.Cle...
more >>
Membership and Roles
Posted by bbawa1 NO[at]SPAM yahoo.com at 6/29/2007 2:47:47 PM
Hi,
I am working on Membership and roles in Asp.net 2.0. I am using
logincontrols in asp.net 2.0. When I use these login controls it
automatically creates ASPNETDB.mdf database. which has it's own
tables for membership. But I can't move this database to live
server. Over live server I ha...
more >>
Forms authentication, user login status is not maintained
Posted by at 6/29/2007 1:54:49 PM
I am testing ASP.NET 2.0 Forms athentication with user credentials in
SQL Server 2005. I don't want to put user credentials in web.config,
so the credentials section is commented out. The following is the
relevant part in my web.config.
<authentication mode="Forms">
<forms name=".M...
more >>
firing button click event before page load event.....????
Posted by GauravGupta at 6/29/2007 1:45:32 PM
i want to know that is it posible to call button click event before
page load event on post back....
please help me....
...
more >>
connection string.
Posted by bbawa1 NO[at]SPAM yahoo.com at 6/29/2007 1:14:09 PM
Hi,
How can I create a connection string in my web config file. If I
create dataset it automatically appars in web config file but what if
I don't create dataseta nd just want to create database into amy
asp.net application and create a connection string.
Thanks
...
more >>
Visual studio 2005 corrupt MS SQL 2000 stored procedures
Posted by DZanke NO[at]SPAM Yahoo.com at 6/29/2007 1:13:09 PM
When our developers access a MS SQL 2000 stored procedure using Visual
Studio 2005, it seems to save the stored procs in a format that causes
problems w/ MS SQL 2000. When I view the stored proc w/ a binary
editor, there are all kinds of null characters and hex characters like
"FF FE" , This mak...
more >>
Visual Studio .Net 2003 Project running in IIS with ASP.NET 2.0
Posted by clockemail NO[at]SPAM alltel.net at 6/29/2007 1:07:06 PM
I have a VB ASP.NET project that was compiled using Visual Studio
2003, and which works perfectly when using ASP.NET 1.1 in IIS.
However, if I run IIS with ASP.NET 2.0, controls within repeaters
become relabeled, which leads to bugs in my JavaScript code. For
example, a textbox that is labeled a...
more >>
Unicode characters error when save
Posted by VB Programmer at 6/29/2007 12:40:12 PM
In Visual Studio 2005...
When I'm saving an HTML file it gives me this message:
"Some Unicode characters in this file could not be saved in the current
codepage. Do you want to resave this file as Unicode in order to maintain
your data?
Yes No Save With Other Encoding Cancel"
An...
more >>
Continuously scrolling gridview
Posted by SandpointGuy at 6/29/2007 12:30:03 PM
I want to take a control like the gridview, limiting it to show 5 rows at a
time. The source for it has 20 rows of data. I would like the gridview to
continously show them, so that every second the "oldest" row leaves and the
next roll comes in. Sort of like the stock ticker tape effect, bu...
more >>
Urgent Requirement For .NET Programmers In Bangalore
Posted by at 6/29/2007 11:43:51 AM
Hi Friends,
There is urgent requirement for .NET Programmers in a MNC based in
bangalore. Please mail your resumes with the subject line, years of
relevant exp and your present location.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Designation: Senior Programmers/TL (Team L...
more >>
Web Form DataGrid not displaying - please help me!!!
Posted by at 6/29/2007 10:44:42 AM
Hi,
This is weird, please help. Its probably very simple but I'm stuck! I
have populated a dataset with some data from a session variable:
Dim dsTables As DataSet = Session("soLookupTables")
And now I am trying to display it to a DataGrid widget using the
following code:
Dim myTabl...
more >>
Set connection string of table adapter dynamically
Posted by Orit at 6/29/2007 10:35:31 AM
Hello .
I am stucked with the following problem and hope you can help me :
- My ASP.NET 2.0 application has one master database .
- This master database has a Databases table with list of children
databases .
- All children databases have the same schema ( only the data is
different ) .
M...
more >>
creating my own TextBox
Posted by George Ter-Saakov at 6/29/2007 10:33:00 AM
I am adding some functionality to HtmlInputText so i derived my class from
it.
The problem is when i switch page to desing mode the VS shows an error and
do not render control.
Unable to cast object of type
'System.Web.UI.Design.HtmlIntrinsicControlDesigner' to type
'System.Web.UI.Design...
more >>
Is all script run client-side and othe simple questions.
Posted by active at 6/29/2007 10:00:58 AM
Because I received much help from this NG I have this in the .master.vb
file:
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs)
Handles Me.Load
Image1.Attributes.Add("onload", "resizeImg('" + Image1.ClientID + "')")
End Sub
and define the Script for res...
more >>
Rendering using XML and XSLT
Posted by Sadagopan at 6/29/2007 8:12:01 AM
Hi
We are evaluating the process of rendering controls using XML and XSLT in
..Net 2.0
Questions
1. Is there an article which describes the pros and cons and how to go about
rendering?
2. What will happen to the view state , and how do we access the control
values on the server side
Any h...
more >>
how to trap carriage return
Posted by HockeyFan at 6/29/2007 8:10:03 AM
I have a couple of text boxes that the user keeps hitting return after
entering their data. I don't want a submit. I'd like the return to
be trapped, and then cause a tab to the next control.
How is this done?
...
more >>
Escape Sequence
Posted by C at 6/29/2007 8:10:01 AM
Hi,
I have a label where I set the text to "Input value in format xxxx\xx"
This gets rendered as "Input value in format xxxx\\xx"
I have tried to set the text in the codebehind and use an escape sequence.
What am I doing wrong?
...
more >>
VirtualPathProviders & precompiled/deployed website
Posted by Steven Berkovitz at 6/29/2007 6:44:01 AM
I have been troubleshooting an issue with a VirtualPathProvider not working
on projects deployed with the Web Deployment Project (basically pre-compiled
and merged). Some reading I've done seems to indiciate that you can't use
VPP's with precompiled websites.
What I don't understand is, how...
more >>
How to create Dynamic Control(Label) in asp.net with c#
Posted by Manoj Mittal at 6/29/2007 6:16:48 AM
I have created the Dynamic control in asp.net c#
like
for (int i = 1; i <= 5; i++)
{
Label label = new Label();
label.ID = "Label" + i;
label.Text = "Label"+i;
form1.Controls.Add(label);
}
problem is how to get label1or labe...
more >>
Regular Expression to enforce format?
Posted by C at 6/29/2007 4:04:01 AM
Hi,
I have an asp.net textbox and I want to enforce that the user inputs values
in the following format 1498159\102
How can I do this using a Regular Expression or otherwise?
Any advice appreciated.
...
more >>
I want to find some good CMS
Posted by at 6/28/2007 11:38:59 PM
I want to find some good CMS ,
who can tell me some
thank you
...
more >>
Permissions Error When Accessing Access Database
Posted by Nathan Sokalski at 6/28/2007 8:50:00 PM
When I attempt to access a Microsoft Access database from my website, I
recieve the following error:
Server Error in '/' Application.
--------------------------------------------------------------------------------
Security Exception
Description: The application attempted to perform an ope...
more >>
Can't access set property in custom control
Posted by Chris at 6/28/2007 7:30:46 PM
I have created a date picker user control. I want to have a boolean
property, which I can set to determine whether the control defaults to
today's date. I have created a property which I set to true but when I
create the child controls it has always reset to false. I know it has been
set to ...
more >>
Client side radiobutton selection
Posted by Mike at 6/28/2007 6:16:02 PM
Hi Guys,
I have a gridview and the first column is a template that generate a
radiobuttons in the gridvew. and I would like that user will be able to
select one option from the list of the generated radio buttons in my first
column - in Client side. (as if in multiple choice exams)
Th...
more >>
Tightest integration of C++ and C#
Posted by 2b|!2b==? at 6/28/2007 5:08:47 PM
Die-hard C++ enthusiast hear (only been recently converted - actually
dragged kicking and screaming to ASP.net).
I have loads of C++ libraries - what is the technology/methodolgy that
provides the tightest integration of C++ and the .Net languages (C#
especially - since that is my target la...
more >>
ajax error on firefox
Posted by germ at 6/28/2007 5:00:28 PM
doing a simple page webmethod call an a page via PageMethods works fine in
ie7 & opera9
the same call on firefox ( and I assume netscape ) generates the following
error :
Error: [Exception... "Component returned failure code: 0x80040111
(NS_ERROR_NOT_AVAILABLE) [nsIXMLHttpRequest.status]" ...
more >>
Charting in ASP.Net 2.0 (is this possible?)
Posted by Bartholomew Simpson at 6/28/2007 4:37:58 PM
I'm building an application that has realtime charting and allows a user
to interact with displayed chart (drag and drop, zoom, select items in
chart, add anotations to chart etc).
I haven't seen a .Net application that is this "rich client" - is it
possible to do have this level of "rich c...
more >>