all groups > asp.net > october 2006 > threads for thursday october 12
Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
linked Button
Posted by Agnes at 10/12/2006 11:45:27 PM
I create a table on the asp.net (web page)
there are two column , Invoice Number and download link button.
When the user click the button, the correponsed pdf will be shown.
How can I do that ??
Thanks a lot
Do While drRv.Read
Dim r As New TableRow()
Dim i As ... more >>
Page and Parent property of custom server control
Posted by Charles Zhang at 10/12/2006 10:01:08 PM
I created a custom server control that derives from WebControl. I found
Parent and Page property are null for the control I created. But Parent
is a readonly property so that I have no way to assign it a proper value.
By the way, I did no create a constructor for my custom control. I did
no... more >>
Reading email in ASP.NET
Posted by Roshawn Dawson at 10/12/2006 9:32:35 PM
Hi,
Is it possible to read email messages in ASP.NET? If so, how? Any help would be greatly appreciated.
Thanks,
Roshawn... more >>
How do I generate Crystal Report
Posted by Badis at 10/12/2006 9:32:01 PM
Hi Guys,
I'm new in using crystal reports with c#.net. I have a set of data coming
from textboxes in a web form and I would like to generate a crystal report
dynamically with a given name that I can specify in a variable or a textbox.
How can I do it (if U a sample code that will be grate)
... more >>
generate xml file and allow user to download it...
Posted by John Q. Adams at 10/12/2006 7:49:15 PM
I want to generate an XML file on the server side and allow the user to
download it by clicking on a link. I also want the XML file to always be
named "Config.XML"
Whats the best way to do this?
If I create an ASP.NET page called Config.aspx, I can generate the XML file
(and change the m... more >>
HiddenField value not valid
Posted by sklett at 10/12/2006 6:48:48 PM
I've added a HiddenField control to my page and some javascript to show it's
value in an alert box when a button is pressed. The value that is displayed
in the alert box is correct, but when I post the form the value for the
HiddenField control is empty.
I'm pretty new to ASP.net so I'm no... more >>
Problem with type conversion
Posted by shapper at 10/12/2006 6:03:40 PM
Hello,
I am working on a custom control and I am getting an error on one of my
properties:
"Conversion from type 'Unit' to type 'String' is not valid."
I am using the code which Visual Studio generates when I create a
custom control:
' InfoWidth
<Bindable(True), Category("Layout... more >>
Show window with scroll bar
Posted by Agnes at 10/12/2006 6:01:08 PM
<td><form action="test.aspx" >
<input type="button" value="Download"
onclick="window.open('test.aspx?>','mywindow','width=600,height=800')">
I can show a little window , however, can i show a scroll bar
Please help
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Invalid postback or callback argument.
Posted by sklett at 10/12/2006 5:34:04 PM
I just started to get this error. I've googled and read several posts, non
of which have helped (except to turn off event validation - but I don't like
that solution)
I've got a little 'AJAX' mixed in with my web form and I've narrowed the
problem down to this:
when a user does a search, ... more >>
How should I do this? <variable containing html>
Posted by Jeff at 10/12/2006 4:21:16 PM
Hey
ASP.NET 2.0
I've added some extra properties to the Profile of users on my site. One of
the new properties is of type "string" and it contain HTML data.... like for
example "<div><small>Test</small></div>"
My problem is that I don't know how to display this property on the page. I ... more >>
asp.net project not compiling after conversion
Posted by profnachos NO[at]SPAM gmail.com at 10/12/2006 4:18:21 PM
I am still struggling to convert my .NET 1 project and running into all
sorts of issues.
At this point, the only thing that is saying is.
"/MyWebSite/permits_webgrid.ascx has a circular reference!
Do you have any suggestion on where to begin? It is not pointing to my
code, but rather to ... more >>
how to update ATLAS UpdatePanel
Posted by Vaidas Gudas at 10/12/2006 4:05:38 PM
How to update ATLAS AJAX UpdatePanel by using javascript.
... more >>
Why do I keep getting a null (or other) error with gridview and DataRowView?
Posted by needin4mation NO[at]SPAM gmail.com at 10/12/2006 3:52:44 PM
In this code:
protected void GridView1_RowCreated(object sender,
GridViewRowEventArgs e)
{
if (e.Row.RowType == DataControlRowType.DataRow)
{
DataRowView rowView = (DataRowView)e.Row.DataItem;
// Retrieve the value for the current row.
... more >>
Multi Language Application...
Posted by Charlie NO[at]SPAM CBFC at 10/12/2006 3:44:09 PM
Hi:
Our appliction will have to render captions in different languages depending
on a login profile. Where is a good place to start learning how to do it?
Any 3rd party tools?
Thanks,
Charlie
... more >>
Help constructing a class !
Posted by Big George at 10/12/2006 3:33:28 PM
Hello,
I develop in ASP.NET with VB.NET code.
I need some help constructing a class: Worker. I'm designing the
properties of this class.
The class is filled reading tables in database.
Properties of Class Worker:
- ID_Card
- Names of Person
- ID_Current_Company
- Name of Current Compa... more >>
Master & Details Page Reload
Posted by Janet at 10/12/2006 3:32:02 PM
Hi,
I'm trying to use the master/detail page to display the information of
staff. The master page will display some general information, while the
differen detail pages will show the different kinds of staff details, like
family member details, contact information, etc.
Hence, this case... more >>
SOS - Please respond - SQL 2000 instead of 2005
Posted by Guy Cohen at 10/12/2006 3:24:23 PM
Hi all.
My webhost prepared a server for me with 2000 instead of 2005.
Will my .net 2005 application work there?
I generated a script to export my sql server 2005 object
There was a failure here:
IF NOT EXISTS (SELECT * FROM sys.database_principals WHERE name =
N'aspnet_WebEvent_FullAcces... more >>
multi threading and AJAX
Posted by Bruno Alexandre at 10/12/2006 3:09:48 PM
Hi guys,
I have this page that needs to be populated with 2 diferent web services,
and each one takes more or less 10 seconds to finish populate his own part,
so I move on to the multi threading inside ASP.NET.
my questions is:
having a ASP.NET AJAX page and my gridView inside an at... more >>
Changing SQL Server 2000 Password
Posted by Jim in Arizona at 10/12/2006 3:06:25 PM
I'm using VS2005/2.0 Framework.
The SQL Server I was working with is MS SQL 2000. I don't know what
build off hand.
I tried to make a small web form to change the password, using this code:
Dim strCTID As String = txtClaimTrakID.Text
Dim strPassword As String = txtCurrentPasswor... more >>
click on control and tab order doesn't update
Posted by sklett at 10/12/2006 3:02:31 PM
Coming up with a title was hard for this ;0)
Picture this: 10 controls on a form in a single column.
Click in the first control to give focus
Press tab to move to the next (second control)
Click on the fifth control to give it focus
Press tab and focus jumps to control #3 - I would have exp... more >>
what do you think about this?
Posted by parez at 10/12/2006 2:40:42 PM
Microsoft .NET Outperforms J2EE. In a head-to-head comparison of
performance and scalability between Sun's Java Pet Store J2EE blueprint
application and the ASP.NET implementation, Microsoft .NET
significantly outperformed J2EE. The bottom line: the ASP.NET
implementation required only 1/4th... more >>
loading gridview in edit mode with a blank row at top of data source?
Posted by jobs at webdos at 10/12/2006 2:31:51 PM
Loading gridview in edit mode with a blank row at top of data source?
I'd like to have a button that when selected will rebind my gridview to
a blank row + the original datasource in edit mode on that first blank
row. Is this possible using vb.net codebehind?
Thanks.
... more >>
Apple Safari and Dotnet
Posted by Edward at 10/12/2006 1:58:00 PM
Hi All,
I feel frustrated with one of my Customers who wants me to ensure that a
dotnet web site I am building for them must be compatible to Apple's Safari
browser!
Safari is buggy and it does not support lots of things (xhtml etcc).
However, what puzzles me is that there are some dotn... more >>
Radiobuttonlist and CheckBoxList controls not rendering.
Posted by Marty at 10/12/2006 1:57:57 PM
I am using:
VS2005 Pro
WinXP Pro SP2
IIS 5.1
..NET Framework 2.0.50727
I create a website using File>New>Web Site>ASP.NET.
I put a ListBox, DropDownList, CheckBoxList and RadioButtonList on the
default page.
Compile the page and surf to it using IE or Firefox (I get the same
results with ... more >>
How do I retrieve the scope_identity() with the tableadapter?
Posted by needin4mation NO[at]SPAM gmail.com at 10/12/2006 1:30:57 PM
Hi, I have generated my queries and selected the refresh the table
option. This creates a select after the insert to get the
scope_identity() so that I can use that key value in another table,
i.e. foreign keys. I have verified the existence of the select in the
DAL .xsd file.
I simply do no... more >>
Solution platform explained
Posted by kurt sune at 10/12/2006 1:30:15 PM
Can anyone point to a place/source that details the various differences
between the "Solution Platforms" targets that exists by default in VS.NET
2005?
- .NET
- Any CPU
- Mixed Platforms
The only googling result I got is
ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.VisualStudio.v80.en/dv_csc... more >>
System.ApplicationException: The media is write protected
Posted by Jen at 10/12/2006 1:24:29 PM
My ASP.NET/VB.NET web application has been running fine until today.
When I go to the intranet site's start page, I get a "Server Error in
/AppName" error and the text for the error reads "The media is write
protected". This is the first time any of us have seen this error. Our
web application d... more >>
Default value
Posted by shapper at 10/12/2006 12:56:37 PM
Hello,
I am creating a class where I have various properties.
I was able to set default values for most properties which have common
types.
However, I am 3 properties which I don't know how to create the default
value:
1. Mail.AttachmentCollection
I want to make it empty. But I am n... more >>
System.IO.Direcory and Lost Session
Posted by steve_smith at 10/12/2006 12:35:02 PM
use of Directory.CreateDirectory or Directory.Delete and I lose my InProc
session variables.
Does anyone know a workaround? TIA for any assistance!... more >>
VS 2003 to VS 2005
Posted by Dominique at 10/12/2006 12:09:02 PM
Hello,
When Upgrading from VS 2003 to VS 2005 it seems everything chnaged from HTML
to XHTML and caused trouble.
No more upper case allowed for example.
How can i change this?
--
Dominique... more >>
microsoft enterprise library
Posted by Justin Kadima at 10/12/2006 11:33:24 AM
I'm considering porting one of my application in order to use the Microsoft
enterprise library and I am contemplating the pros and cons of doing it. Are
you guys using the library?
... more >>
System.Threading.ThreadAbortException
Posted by kowshikj NO[at]SPAM gmail.com at 10/12/2006 11:20:51 AM
In a ASP.NET 1.1 application, we get this exception at xmlDoc.Load()
when loading an XmlDocument. This does not seem to happen every time
though. The xml file itself is only 10 KB and we don't use any threads.
XmlDocument xmlDoc = new XmlDocument();
try
{
xmlDoc.Load(strXmlPath);
}
Is ... more >>
Problem with Visual Web Developer 2005 Express Edition
Posted by jhmosow NO[at]SPAM gmail.com at 10/12/2006 11:18:47 AM
I am having problems using the Visual Web Developer 2005 Express
Edition. When trying to create a new database connection, the
application hangs. After ending the process, I then get errors when I
reboot. The program lsass.exe is faulting. So far my only option
seems to uninstall the Web Dev... more >>
how to use FCKeditor in ASP.NET 2.0??
Posted by Jeff at 10/12/2006 10:38:09 AM
Hey
ASP.NET 2.0
lets say I have a web page containing a FCKeditor, when this page loads it
will fill the FCKeditor with some kind of text... I'm wondering how to set
this text in the FCKeditor?
I'm also wondering how to get the text entered in the FCKedtior. I've tryed
putting a butto... more >>
Newbie : Form question !
Posted by Stan SR at 10/12/2006 9:46:22 AM
Hi,
I use a Unique Identifier data for my website that I get using the
Request["sid"]
That means most of my links are formatted like mypage.aspx?sid=blabla
So, I need to understand how to add the "?sid=blabla" onto a page where I
have a form with several fields
Do I have to add a hidde... more >>
Problem sharing session between classic ASP and ASP.NET
Posted by antonyliu2002 NO[at]SPAM yahoo.com at 10/12/2006 9:28:17 AM
We are extending a web application written in classic ASP long time
ago. We will add more components to this web application in ASP.NET
2.0.
To use the web application, our web users will have to log in with
their user name and password.
Well, instead of adding components to the existing c... more >>
Gridview row databound event - can't get past the 1st row of gridview
Posted by maurban NO[at]SPAM gmail.com at 10/12/2006 9:19:56 AM
Hi there experts,
I have a gridview with a couple textboxes and a dropdownlist. I'm
trying to insert a default value into my database driven dropdownlist.
I'm doing this in the rowdatabound event. My problem is that my code
only works for the very first row in the gridview. For the first row,
... more >>
multiple javascript for user controls
Posted by Italian Pete at 10/12/2006 8:20:02 AM
Hi,
I have a usercontrol which includes a small piece of Javascript built up
as a string in <script> tags and put onto a web page when an instance of the
User Control is created. The Javascript does some client side checking of
User Input.
If I use multiple instances of the same user contro... more >>
Page State
Posted by Baren at 10/12/2006 7:56:02 AM
Hi! All,
I have a requirement, wherein user clicks on some data and moves to a 2nd
page wherein he edits some data and again after submitting the data, he is
returned to the pervious page with its previous state. How do we do it.
Thanks in advance,
Baren
... more >>
Get from value
Posted by shapper at 10/12/2006 7:53:29 AM
Hello,
I need to get the "from" value, in my runtime code, which I have in my
web.config:
<system.net>
<mailSettings>
<smtp
deliveryMethod = "network"
from = "email@domain.com">
How can I do this?
Thanks,
Miguel
... more >>
Avoid having a SQL express for web parts and avoid personalization
Posted by Roger23 at 10/12/2006 7:42:31 AM
I have a requirement where I need to remove or disable the entire
personalization feature of my web application. I am not allowed to have
a SQL express on my web server and I am not allowed to have any SQL
Express or any SQL server for that matter. how do i disable the entire
personalization of ... more >>
What is PublicKeyToken?
Posted by shapper at 10/12/2006 7:36:10 AM
Hello,
I just compiled a library and I am adding a similar code line in my
Web.Config file to my library:
<add assembly = "System, Version = 1.0.3300.0, Culture = neutral,
PublicKeyToken = B77A5C561934E089" />
My question is: what is PublicKeyToken?
Where can I find it?
In my library th... more >>
Stored Session object is mixed up with another user's session object.
Posted by momo898 at 10/12/2006 7:19:01 AM
I have a big problem. Most case it's working well but sometime the
below happens.
User A on computer B gets session object created by user X on computer
Y instead of getting session object saved by User A. It means Session
ID is changed.
Is it possible? Have anyone seen this?
Server is ... more >>
Properties and Constructor
Posted by shapper at 10/12/2006 6:58:07 AM
Hello,
I create a class where I have 2 properties, Name(_Name) and
Email(_Email), and one function, Subscribe.
I would like to use my class in two ways:
Dim Object As MyClass
Object.Name = "My Name"
Object.Email = "My Email"
Object.Subscribe
OR
Dim Object As MyClass
Object.Subscr... more >>
Dynamically Generating Delete Button
Posted by Matt at 10/12/2006 6:49:40 AM
I am trying to build a Datagrid whoose edit column contains an edit and
delte image button. However I want to be able to determine via another
column whether or not the delete button should be presented or not.
I have a column called "Submitted" and if that column = "Yes" then they
CAN NOT de... more >>
ASP.NET2.0 controls and Menubar's compatibility with Mac IE Browser
Posted by dreamamit2001 NO[at]SPAM gmail.com at 10/12/2006 6:28:58 AM
Hi,
I would like to know the ASP.NET2.0's(Controls, Menubar, Validations,
Object Data Souce Controls, Treeview Control) compatibility with IE5.0
browser on Mac OS.
If I don't use Client side Vbscript and Activex control, will the site
developed in Asp.net2.0 work fine on IE5.0 Mac Os?
An... more >>
Ellegant inserting js code in dynamically created file
Posted by mamin NO[at]SPAM o2.pl at 10/12/2006 6:21:01 AM
Hi,
I need to create html file dynamically from C# code. I need to place
there some javascript code. This js code I'm keeping in fukctions.js
file. Now, I'm generating HTML code, for example:
string htmlContent ="<html><body></body></html>";
......
saveHtmlFile(htmlContent);
and I would... more >>
Keyboard shortcuts, please help.
Posted by Erland at 10/12/2006 5:31:45 AM
Hello,
I am using asp.net 2.0 and I want to add keyboard shortcuts to my
application just like the shortcuts you see in GMAIL. I was wondering
how can I do this in ASP.NET? Scenerio that would like to implement is
as follows
" User hits ALT-A on hitting ALT-A a server-side event is raised"
... more >>
.net framework 2.0 install
Posted by chaz at 10/12/2006 5:28:01 AM
will the install of .net framework 2.0 on a system with IIS installed
automaticaly register asp.net with IIS ?
thanks ... more >>
Default property value
Posted by shapper at 10/12/2006 5:00:09 AM
Hello,
I am creating a class where I have various properties.
How to I set a default property value in case the property is not
defined by the user.
For example, I have the property:
' Priority
Public Property Priority() As Mail.MailPriority
Get
Return _Priority
... more >>
Global resources problem on production server
Posted by Gediminas at 10/12/2006 4:13:02 AM
Hello,
We made a project which is using global resources strings for buttons
(ASP.NET 2.0). On development workstation (Windows XP, VS 2005 with .NET 1.1
& 2.0) everything was fine, but when we deployed project to production server
(Windows 2003 RC2, .NET 1.1 & 2.0), on every button, where ... more >>
eror authentication mode = ....
Posted by wiktor.dzierzecki NO[at]SPAM gmail.com at 10/12/2006 3:52:37 AM
I try to build a simple web aplication in ASP.NET in Visual Studio 5.
When I run finished web aplication from inside VS5:
localhost:1675/test2/Default.aspx
everything is OK, works good.
But when I just navigate in my browser to:
localhost/test2/Default.aspx
i get Configuration Error:
Server... more >>
Doubt on Multilingual application
Posted by amitmnagarwal NO[at]SPAM gmail.com at 10/12/2006 3:52:19 AM
I am using the following code to access the resourc file.
Dim sAssembly As [Assembly]
sAssembly = [Assembly].GetExecutingAssembly()
Dim rm As New ResourceManager("MultiLingual.Info",
sAssembly)
''Case sensitive
Response.Write(rm... more >>
Sett absolute path problem
Posted by Pumkin at 10/12/2006 12:32:20 AM
Hello guys,
I have a small problem with setting the absolute path of an image.
Here is the scenario:
I need to put the image in a text concat something like this:
<asp:Label id = "lbl" runat = "server" text = "<img id = 'img' src =
'Images/picture.gif' /> text " />
If I put a relative... more >>
|