all groups > asp.net > march 2007 > threads for thursday march 15
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
Logg in
Posted by rcoco at 3/15/2007 11:53:58 PM
Hi,
I have a datagrid that insert data. One column is for user name and it
was being done manually. I mean the user has been inserting the name
manually. I want to Cahnge it so that when a user loggs in the name
automatically rights his name is that possible if yes how can I do
this?
... more >>
Dynamic generation of graph in Excel.
Posted by Jawad Rehman at 3/15/2007 11:41:34 PM
Hello everybody.....
I have an excel file which is resided on server,there is some data on
the cells .Now i want to
generate dynamic graph on the basis of the data present in the excel
file using ASP.NET.
I have solution of this ,that i should use the Com component
interop.microsoft.excel... more >>
how much of this is still true (assembly versioning & the gac)
Posted by Coaster at 3/15/2007 9:41:28 PM
orig ref here
http://groups.google.com/group/microsoft.public.dotnet.framework.aspnet/browse_thread/thread/ff29cc370678911d/c0db5b7e3da283b9?lnk=st&q=gac+assembly+new+version&rnum=7#c0db5b7e3da283b9
I have pasted the part I'm interested in below. My company doesn't use
versioning or the ga... more >>
question using DNN as front for a web service
Posted by yomongars NO[at]SPAM gmail.com at 3/15/2007 7:50:04 PM
Hello
i'm developing a web service in c# using wse 3.0 and need a front to
query and modify the data. I once looked at DNN for a portal solution
and it seems a good product with lot's of functionnalities (user
management, rights, modules, skinning, etc.).
My question is is there a way of bu... more >>
Javascript validation
Posted by Peter Afonin at 3/15/2007 7:27:35 PM
Hello,
I'm not an expert in Javascript, so I'm seeking an advice.
As I mentioned in my previous post, I use Javascript to check whether at
least one checkbox in the datagrid has been checked. I have to use
Stringbuilder to do this:
Dim iCount As Int32
Dim sClientSideValidate As New Str... more >>
Retaining values after a postback
Posted by PokerMan at 3/15/2007 7:18:57 PM
Hi
I have 6 variables that i want to keep after a postback. I have achieved it
by making them static, is this correct procedure?
Thanks
... more >>
Using a custom character as the bullet in a BulletedList
Posted by Nathan Sokalski at 3/15/2007 4:51:21 PM
I am creating a BulletedList and would like to use a - as the bullet.
However, I could not find a way to do this using the properties for the
BulletedList control. Is there a way to use a specific character for the
bullet without manually adding it to each ListItem? Thanks.
--
Nathan Sokals... more >>
XPATH - determining missing attribute
Posted by Grant Merwitz at 3/15/2007 4:36:10 PM
Hi, i'm not sure if this is the appropriate topic.
But here goes:
I am currently bulding a site menu from a xml file.
I have an attribute that indicates whether an option is active or not
"isactive=true/false"
Now using xpath it is easy to filter this out:
Xpath="MainBar/Section[@isacti... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
TextBox.Focus not working in FormView
Posted by J055 at 3/15/2007 3:47:11 PM
Hi
The client script does not get created when calling the Focus method on the
TextBox. No errors occur. What am I doing wrong please?
protected void fv_Load(object sender, EventArgs e)
{
FormView fv = (FormView)sender;
TextBox tbFirstName = (TextBox)fv.FindControl("tbFirs... more >>
IUSR and IWAM Permissions
Posted by Simon Watkins at 3/15/2007 3:22:34 PM
Our server administrators recently changed the permissions of most of our
servers (you know how it is, the developers had, shock horror, got to know
the domain administrator password, and some decision was made on high to
clamp down on everything)
This consequently has had the effect of ren... more >>
blackberry 8700
Posted by Huseyin Altun at 3/15/2007 3:03:39 PM
Hi,
I want to develop an asp.net application for blackberry 8700. I wonder is
there any way to uniquely identify the blackberry device?
How can I know which device requesting page?
thanks.
... more >>
Bug with nested repeaters. Item events are called twice per item
Posted by James Geurts at 3/15/2007 3:00:00 PM
On my page, I have one repeater that contains a literal control and a nested
repeater. The nested repeater contains a literal control. Both repeaters
are databound with only one object (string). But... and this is the crappy
part, the nested repeater's events are fired twice. How do I know... more >>
Gridview Footer
Posted by James at 3/15/2007 2:54:00 PM
Hello,
I was wondering if it is possible to do calculations in the footer on a
Gridview. I have a simple survey online, and I have a page that displays the
results, each question is a Column, and each record is one persons answers.
What I am after is a way of working out the percentage at t... more >>
Datalist rendering in IE7
Posted by L-E Eriksson at 3/15/2007 2:48:38 PM
Hello!
I have a web form with a datalist control. The datalist shows articles from
a db. The page looks nice in IE6 and FF, but in IE7 the line breaks are
messed up, so for each article in the datalist, only the first line is
visible.
This is the code in short:
<form id="form1" runat=... more >>
SQLExpress database file auto-creation error...
Posted by Mrozik at 3/15/2007 2:47:07 PM
Hi!
I have Web Application with forms authentication. Data
and security model resides in Oracle database.
I have 'login' page with MS 'Login' control.
In my LoggingIn event for debug purposes I have
only:
FormsAuthentication.RedirectFromLoginPage(
"testlogin', false);
(all users are authe... more >>
Not get filename[1].rtf (ie no [1])
Posted by David Thielen at 3/15/2007 2:21:05 PM
Hi;
When I set:
context.Response.AddHeader("Content-Disposition", "attachment;filename=" +
item.Filename);
where Filename is dave.rtf, it will open Word with a filename of
dave[1].rtf. How do I get rid of the [1]?
--
thanks - dave
david_at_windward_dot_net
http://www.windwardreport... more >>
ASP 1.1 error...Failed to execute request, App-Domain can't be cre
Posted by Dave at 3/15/2007 2:19:07 PM
I'm running VS 2003/ASP.NET 1.1.4322.0 on XP SP2 All of a sudden I started
to getting...
"Error while trying to run project: Unable to start debugging on the web
server. Server side-error occurred on sending debug HTTP request.
Make sure the server is operating correctly. Verify there is... more >>
httpHandlers problem
Posted by David Thielen at 3/15/2007 2:04:08 PM
Hi;
We return files that are stored in our database using an httpHandler as
follows:
<httpHandlers>
<add verb="*" path="report-view.*" type="ReportView"/>
</httpHandlers>
Now as I understand it, we can make the path "filename.*" and we can make it
"abc*.*". But we cannot make it ... more >>
Export To Excel - ASP.NET 1.1
Posted by JawzX01 at 3/15/2007 1:58:07 PM
Hello All,
First, thank you for any help you can provide.
I'm trying to do a simple export to excel. I've used the classic
code that is all over the internet, and of course it worked without a
problem.
The problem is that I want to add text above the data grid in the
excel sheet. The ... more >>
Gridview date format
Posted by FireStarter at 3/15/2007 11:31:44 AM
Hi, Guys!
I am using a Gridview to show data coming from a Dataset that has a SQL
Server 2000 stored procedure behind it.
I have a couple of datetime columns and by default the format they show
on the page is "3/14/2007 11:07:10 AM". For one of the date columns I
would like the format "3... more >>
How secured is the ASP.NET 2.0 web.config encryption?
Posted by Anonieko at 3/15/2007 11:23:29 AM
Okay, I use impersonation in my web.config by putting the username and
password at <system.web><identity> section...
Okay, I can encrypt this section via this command
C> aspnet_regiis -pef "system.web/identity" c:\proj\adservice
But what is the point? Anybody can still decrypt it ... more >>
[ASP.Net 2.0] Hiding asmx file ?
Posted by Steve B. at 3/15/2007 11:10:27 AM
Hi,
We have build an ASP.Net 2.0 framework for our corporate sites. This
framework add some asmx files that are used by all application. The asmx
files only contains the directive
<%@ WebService Language="C#" Class="OurFrameworkServiceClass" %>
The class is defined in a dll (then w/o so... more >>
Can a mime type be forced to use a particular application?
Posted by Jimmy at 3/15/2007 10:51:00 AM
In particular, I was wondering if there was a .vnd mime type for Microsoft's
Windows Picture and Fax viewer?
I would like to force tiff files clicked on from my Web Site to be opened
with the Windows Picture and Fax Viewer, since many users have quick time
installed and they call with supp... more >>
IP Address of web server
Posted by sck10 at 3/15/2007 10:32:19 AM
Hello,
How to you get the IP address of the web server?
Thanks, sck10
... more >>
Why does VS not show build error filenames in ASP.NET 2.0 projects?
Posted by Michael Bray at 3/15/2007 10:02:53 AM
I have some class files in App_Code (eg MyClass.cs) but if there is an
error during compilation, the error list doesn't say what file the error is
in. It just shows something like "(0,0): error CS0246: blah blah blah".
Am I missing something obvious?? Because searching all of my classes for... more >>
How to send email with vs2005?
Posted by Chef at 3/15/2007 9:43:00 AM
I can use outlook2003 to send email,but I cann't use this code below to send
email.
Please help me to test this code and instruct me how to solve this problem
in detail.
software environment: VS2005 + XP.-- I have disabled firewall
hardware enviornmnet:telcom's modem connects hub... more >>
SqlDataSource Multiple Result Sets
Posted by Mike at 3/15/2007 9:20:43 AM
Is it possible to use a SqlDataSource to return multiple result sets and if
so, how do I access them?
Thanks
... more >>
Link
Posted by JimHeavey at 3/15/2007 8:57:37 AM
This is not really an ASP.Net Question, but still I hope that it can be
answered here...
I have a link which when clicked invokes a program which invokes a program
which generates a PDF file and show it in the web page.
The link looks something like thi
http://pacsdd/ibiweb.exe?IBIF_ex=MS... more >>
Dynamically-added Button not triggering event handler. Why?
Posted by parsifal at 3/15/2007 8:40:05 AM
Hi everyone :-)
In my Page_Load, I create a control, and do an AddHandler on it
(VB.NET). The button is created and displayed, and does cause a
postback, but the event handler isn't fired. What am I doing wrong?
Here's the code for adding the button:
Protected Sub Page_Load(ByVal sender ... more >>
How to display page while long-running process executing?
Posted by lmttag at 3/15/2007 8:07:10 AM
Hello.
We're developing an ASP.NET 2.0 (C#) application and we're trying to
AJAX-enable it. We're having problem with a page not showing the page while
a long-running process is executing. So, we're looking for a way to display
the page with a "please wait..." message while the process is runn... more >>
Modify service return object without affecting other clients/proxies
Posted by Abbas at 3/15/2007 8:03:27 AM
Hi,
I have a web service that returns an object, call it myReturn, which
contains information regarding payments, etc.... I have a new
specification, to add a new property to myReturn to handle some extra
calculations (ie. for amortization). However, I have existing clients
with proxies bas... more >>
Old Versions of ASPX showing
Posted by goldborder NO[at]SPAM gmail.com at 3/15/2007 7:11:33 AM
Hi All,
Here is a long story short.
On one of our IIS platforms, I am running Microsoft CMS, which
utilizes ASP.NET and CSharp.
After changing some code, I noticed that old ASP page code will be
shown/executed when a certain amount of time has elapsed. For
example, if on one page I told... more >>
Exception handling
Posted by rodchar at 3/15/2007 7:06:06 AM
hey all,
i have some error handling code in my global.asax:
void Application_Error(object sender, EventArgs e)
Is there anyway to acquire the UserID in the global?
thanks,
rodchar
... more >>
Partial Classes question
Posted by Alex at 3/15/2007 6:58:13 AM
I upgraded a 2003 solution into a Web Application Project. When I converted
one of the forms to a partial class, the page_load event isn't executing
anymore. Is there anything else I need to do in order to make a form that was
converted into a partial class to work other than right-clicking on... more >>
Dynamic Charts
Posted by Jawad Rehman at 3/15/2007 6:13:06 AM
Hello to Every Body...................
I have a MS Excle file on server.How i get reference of the Excel
File.
b/c i want to generate charts using ChartObjects and something like
that.
Keep i mind file in reside on server. Data is Already there in file.
... more >>
Profile. Have no idea what I am doing wrong ...
Posted by shapper at 3/15/2007 5:26:57 AM
Hello,
I have an ASP.NET page and in its runtime code I am trying to get an
user profile, change it and save it.
It works if I use Profile, which is the profile for the current
authenticated user. But I want to change the profile of another user.
Anyway, I am using:
1 Dim pcProfile ... more >>
ASP.NET Class Files
Posted by Dessip at 3/15/2007 5:22:19 AM
Hey,
Soryr to post this, but im getting amasingly confused from all of the
information out there, but i was wondering if some one could help me
with these 2 questions please, because they would imporve the quality
of my code alot.
1/ Is there any way that you can edit the <head> tag, becaus... more >>
SQL error
Posted by Daz01 at 3/15/2007 5:15:38 AM
I am trying to execute a query from an Access Database using SQL in
Visual Web Developer. I keep getting an error message saying: Type
Mismatch in expression!
Have I made an error in my SQL statement?
Statement below
SELECT Products.ProductID, Products.SupplierID,
Products.ProductNam... more >>
dynamic SiteMapPath
Posted by James Page at 3/15/2007 5:12:00 AM
I’m trying to create a dynamic asp.net 2.0 siteMapPath control (using VB.net).
Using the xml sitemap I’ve got these three pages:
productGroup.aspx
productListing.aspx
productDetail.aspx
Each page receives a query string i.e. productGroup.aspx?id=9
The page then renders with the appro... more >>
Lazy Load Nested DataLists when scroll position changes
Posted by Ole V.-M. at 3/15/2007 3:03:04 AM
Greetings,
i have a UserControl, that contains a DataList. That DataList contains
as items other DataLists.
example:
DataList A Row 1
Nested DataList 1
Row 1
Row 2
Row 3
DataList A Row 2
Nested DataList 2
Row 1
Row 2
Row 3
DataList A is p... more >>
Error trapping in global.asax
Posted by Andy at 3/15/2007 2:54:40 AM
Hi there, I have an asp.net 2 web application with SQL Server 2005 db,
running on IIS6. I have implemented some error trapping in the
global.asax file, along the lines of:
void Application_Error(Object sender, EventArgs e)
{
Exception ex = Server.GetLastError();
//write details abo... more >>
advantages of profile compare to database table
Posted by ruthie at 3/15/2007 1:58:51 AM
Hi,
Becuase I use Web Application Project and not Web Site - the only way
I can use the Profile is by installing "Web Profile Generator".
So I reconsider using the Profile (my project is Ajax Enabled Web
Application so I am afraid of new problems after installing).
What are the advantages ... more >>
Expert help needed - Runtime asp.net form generation
Posted by Anoop M at 3/15/2007 1:28:32 AM
Hello,
Can you please suggest a solution for the following problem?
1 - I need to generate an asp.net form dynamically, for a given dataset - to
enable the user to add new records to the tables in the dataset.
2 - How to persist values of dynamically added controls in asp.net?
... more >>
Execute javascript after a partial postback of an updatepanel?
Posted by Veerle at 3/15/2007 12:58:17 AM
Hi,
I have a web page and at the end of the page I have inserted some
javascript that checks if Acrobat Reader plugin is installed. If it is
not installed, I disable some elements (buttons, checkboxes, ...) on
the page. This javascript is at the end of the page, because
javascript cannot iden... more >>
.net Ajax asyncronus postback probs
Posted by Mukesh at 3/15/2007 12:00:00 AM
HI
all
I have created a user ctrl for user info.
On which i have used some asp ctrls, .net Ajax (Atlas) Ctrls and
validation as described below
Name TxtBox1(RequiedFieldValidator, RagexValidetor)
Email TxtBox2(RequiedFieldValidator, RagexValidetor)
Mobile Txtbox3(RagexValidetor)
D... more >>
String Tokenizer
Posted by Gunawan at 3/15/2007 12:00:00 AM
Hi All,
Is there any string tokenizer in .net 2.0 just like in Java?
Regards,
Gun
... more >>
|