all groups > asp.net > january 2008 > threads for friday january 11
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
Would this speed up my website
Posted by Jane Hopkins at 1/11/2008 11:47:17 PM
We have an asp.net website where the web server is outside our network while
the database is inside. In order to talk to the database the web site has to
go through various security layers and this means it is slow as there is a
lot of talking to the database.
Is there some way I could set ... more >>
Connection with SQL server failed
Posted by BIJU at 1/11/2008 10:44:00 PM
Hai,
I am a new in ASP.NET. I tried to connect ASP.net(VB) with SQL server 2000.
I got the connection failed message as Login Failed for user 'NT
AUTHORITY\NETWORK SERVICE' " ie. System. Data.sqlclient.sqlException: Login
Failed for user 'NT AUTHORITY\NETWORK SERVICE'. Kindly provide solution... more >>
Event
Posted by shapper at 1/11/2008 7:18:21 PM
Hello,
I created a custom control where I need to have an event named
Submitted.
This event should have 3 arguments: Name, Type, Time
And I would catch it has follows:
Public Sub MyControl_Submited(ByVal sender As Object, ByVal e As
MyControlEventArgs) Handles MyControl.Submited
Res... more >>
Get DropDownList.SelectedValue from Page_PreInit Event
Posted by Redhairs at 1/11/2008 5:55:22 PM
Is it possible to get DropDownList.SelectedValue in Page_PreInit() event
during the postback?
... more >>
AjaxControlToolkit + IFrame
Posted by NvrBst at 1/11/2008 5:22:14 PM
I have an IFrame thats inside a <cc1:TabContainer ...> ((In the
<ContentTemplate> section of it of course :) )).
The Iframe loads a new HTML (with some text added) that has <body
onload="alert(this.document.body.scrollHeight)" ...>
Whenever I load the TabContainer page "0" is what gets alert... more >>
Getting BoundField value in GridView problem
Posted by David C at 1/11/2008 3:47:36 PM
I have a GridView that I need to grab the value in a non-visible BoundField
and I cannot seem to get it to work. Can someone please help. I am trying
to get the value in the PropertyID BoundField. Below is the sub and the
GridView columns definition for the GridView named gvPropertyClosings.... more >>
Hyperlink Javascript window.open()
Posted by John at 1/11/2008 3:03:01 PM
Hi,
I have the following in my asp .net web page. It opens a separate browser
window. However, on the main page, all of the contents is gone and shows
nothing but [object]. I have to use the Back button to get the main page
back.
How can I open a separate browser window and keep all the... more >>
Popup window passes value to opener but not recognized
Posted by Timo at 1/11/2008 3:02:12 PM
I created this application using ASP.NET 1.0 and it has worked great
for several years. I recently upgraded to 2.0 and now this isn't
working:
I have a popup window that indicates to the user a problem. They have
several choices, in all of them I change the value of items on the
opener wind... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
TableFooterRow & lines
Posted by Jeff at 1/11/2008 12:54:30 PM
hey
ASP.NET 2.0
On a webpage I've placed a table (server control) which consist of 2 columns
("Description" and "Amount")... At the buttom of the table I have a
TableFooterRow. In this TableFooterRow I want to display the sum of all the
amounts in the table. Right above the content in t... more >>
Don't Understand Error Message (Database)
Posted by Jonathan Wood at 1/11/2008 12:43:42 PM
The following code raises the error "Specified cast is not valid."
MembershipUser user = Membership.GetUser(userId);
DataSet ds = DataLayer.ExecQueryData("SELECT * FROM mc_Clients WHERE
UserId='" + userId.ToString() + "'");
if (ds == null || ds.Tables.Count == 0 || ds.Tables[0].Rows.... more >>
HttpContext.Server.Transfer Problem
Posted by mmorrison93@gmail.com at 1/11/2008 12:26:16 PM
Thanks in advance for any help on this problem, but i have an
HttpHandler that looks at the requested url and and tranfers context
to a particular file. The problem is the transfer will only work if
the file is located in the root directory, if I try to transfer
context to a file in a subdirecto... more >>
passing a non-databound column to javascript
Posted by rlm at 1/11/2008 12:06:05 PM
I have a gridView with a template field that looks like this
<asp:TemplateField HeaderText="">
<ItemTemplate>
<a href="javascript:OpenHelp('<%# Eval("Status") %>')">
<img alt="Click for help." src="help\help.gif" border="0px"
width="12px"/>
</a>
</ItemTemplate>
... more >>
User Control Error (Simple)
Posted by James at 1/11/2008 11:33:58 AM
I built a very simple user control for another company to integrate in
C#/2.0. I had set the namespace to the namespace I used locally for
testing/debugging. Sent them the ascx and the ascx.cs file. When they
integrate it, they are getting the error "Could not load type
'MyNameSpaceNotThe... more >>
Cannot get the command event to work... please help
Posted by M. Ali Qureshi at 1/11/2008 11:13:03 AM
Hi Experts,
I am trying to add some linkbuttons dynamically with Command eventhandler.
But this event just does not get fired when i click on the button. See
following:
Function GetLink(ByVal Folder As Boolean, ByVal LinkText As String,
ByVal FolderPath As String) As LinkButton
... more >>
small xml question
Posted by deepak at 1/11/2008 10:57:03 AM
Hi
i want to write the follwoing in vb.net in asp.net.How to write it?
<SXPDictionaryItemsGet Revision="7.5.0">
<DictionaryTypes>
<Item ID="80" />
</DictionaryTypes>
</SXPDictionaryItemsGet>
Cuurently i m using the following code
Function GetDictionaryValues()
... more >>
Missing Assembly Reference
Posted by Wannabe at 1/11/2008 10:47:02 AM
I developed, and ran successfully, a web application on my development box,
but cannot get it to run on the server. The error I am getting is:
Compiler Error Message: CS0234: The type or namespace name 'Packaging' does
not exist in the namespace 'System.IO' (are you missing an assembly
refe... more >>
small question
Posted by deepak at 1/11/2008 10:47:01 AM
Hi
i want to write the follwoing in vb.net in asp.net.How to write it?
<SXPDictionaryItemsGet Revision="7.5.0">
<DictionaryTypes>
<Item ID="80" />
</DictionaryTypes>
</SXPDictionaryItemsGet>
Cuurently i m using the following code
Function GetDictionaryValues()
... more >>
Monitoring websites
Posted by rkbnair at 1/11/2008 9:04:02 AM
How can we monitor whether certain website is working or not. We want to do
this every minute. Can we write something, or should go for thirdparty
vendors?... more >>
GridView with ObjectDataSource
Posted by Andrew Jones at 1/11/2008 8:27:42 AM
If there is a better place to post this please let me know.
I have a GridView whose Data is bound to an ObjectDataSource ( BLL - DAL ).
When I click Edit on a Row in that GridView I want one of my edit template
fields to fill a DropDownList based on a value from another column on that
same r... more >>
sorting issue
Posted by Mike at 1/11/2008 8:05:35 AM
I have several datagirds that allow sorting on two date columns. The sorting
works but its not showing the newest date first when I sort. For example
if I have dates in my column as
01/01/2008
12/01/2007
12/08/2007
02/02/2007
when I sort, I get it like
12/08/2007
12/01/2007
02/02/... more >>
File in use, Catch/Try a number of times
Posted by Larry Bud at 1/11/2008 6:29:21 AM
We have a web service that a client can send XML to, and that XML is
appended to a file on the server for each call.
At night, a separate processing console app will process the XML.
How would you recommend this interaction to occur so the web service
doesn't step on the toes of the processi... more >>
To connect to a database.
Posted by jc at 1/11/2008 4:00:22 AM
Hi there:
Reading from internet i found that the best way to use a database is
to connect and disconnect on every single database request, so if you
are loading a listbox manually from a database and on the same page,
loading a grid from the database, then the best way is to connect to
databa... more >>
FileUpload in ASP.NET Ajax
Posted by vital at 1/11/2008 2:52:25 AM
Hi,
I have a User control which has a fileupload control. With the
requirements I placed the user control in a UpdatePanel of ASP.NET
Ajax and the fileupload.postedfile.filename giving error.
I read some articles that Ajax is not compatible with fileupload. I
want to know the solution or wo... more >>
Assign datasource id at runtime
Posted by ajaykalathil@gmail.com at 1/11/2008 2:02:58 AM
Hi,
How I can assign datasource id at run time to a repeated control. I
want different data source to a same control based on some criteria.
is it possible
?
... more >>
Security on page
Posted by NH at 1/11/2008 1:57:01 AM
I am trying to restrict users access to certain pages in my asp.net 2.0 app.
What I have done is I check the users permissions (based on data stored in
database) on the page load event of the page. If they dont have access I just
do a response.redirect to another page.
So it works somethin... more >>
Exporting GrifView to Excel?
Posted by Asaf at 1/11/2008 12:21:02 AM
Hi below is the code I am using to export GridView to Excel in Hebrew
character set.
Problem is that sometimes text in Hebrew is ok in the Excel and sometimes it
display as gibberish in the Excel.
How can I solve this problem please?
Kind Regards,
Asaf
protected void btnExportToExc... more >>
|