all groups > asp.net > february 2008 > threads for tuesday february 26
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
How to encrypt login page
Posted by ad at 2/26/2008 9:37:35 PM
I use vs2005 to develop web application.
How can I encrypt the login innformation (password and ID) when a user login
with login page?
... more >>
LINQ Join Error
Posted by john at 2/26/2008 8:20:09 PM
I get the following error on this Join Statement, but I thought the idea of
a LINQ Join is bring together different Data Context, the Intellisene shows
me both tables as a Result; any help is welcome.
Error message: The query contains references to items defined on a different
data context
... more >>
Two websites, same FormsAuthenticationTicket?
Posted by Jeff Dege at 2/26/2008 6:35:28 PM
We have two different websites, both written in ASP.NET 2.0/C#, running
in different virtual directories on the same server.
They both use forms authentication.
Their FormsAuthenticationTicket cookies seem to overwrite each other.
--
When cryptography is outlawed, bayl bhgynjf jvyy unir... more >>
Error using Login control ASP.NET App_Data Folder
Posted by aboutjav.com@gmail.com at 2/26/2008 6:01:51 PM
Hi,
I am writing a login functionality for my asp.net 2.0 website. I used
the Login control from the visual studio tool panel and drag it over
to my asp.net webpage. In my development pc, it works without any
error. I noticed that it creates the following in my App_Data folder
MyWebSiteName... more >>
How to prevent on-demand cpompilation aufter fileupload in a temp. Directory
Posted by Mayer, Stefan at 2/26/2008 6:00:14 PM
Hi,
for some other reasons, where i have no influence and no possibility to
change it; it is necessary to upload files tempoarily to a temp-folder in my
web-project. Allthough the files are deleted a frew seconds after uploading,
ASP.net compiles the whole web at the first time a aspx-File ... more >>
[HELP] Global.asax doen't execute OnBeginRequest
Posted by Fransis il Mulo at 2/26/2008 5:34:50 PM
Yesterday I posted about Url-Rewriting. Now I have solved this kind of
problem but now I have troubles deploying on Win2003 my application.
I develop apps on VS 2005 and XP pro. To manage Url-Rewriting i insert
code in the OnBeginRequest method in Global.asax. It works fine on dev
machine b... more >>
GridView EditIndex
Posted by Andrew Jocelyn at 2/26/2008 5:14:39 PM
Hi
Is there a way change the EditIndex property to the last row in the GridView
when not IsPostBack without binding to the data twice?
Thanks
Andrew
... more >>
Delete database
Posted by shapper at 2/26/2008 5:08:45 PM
Hello,
I created a connection to my SQL Server in Visual Studio 2008. How can
I delete a database? I tried:
Drop database MyDb
It didn't work.
Thanks,
Miguel... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Define number of records
Posted by shapper at 2/26/2008 4:52:16 PM
Hello,
I am using a Numbers table to create test data:
-- Categories
insert into dbo.Categories (CategoryID, [Name])
select
newid(),
'Category ' + cast(n as nvarchar)
from @Numbers
where n <= @categories
@categories is the number of categories I want to create. I create
articles ... more >>
VS2005 - .net 2.0 SP1 - Include javascript files into a page... I change the js file... my application see always the old version!
Posted by Fabio Mastria at 2/26/2008 4:44:15 PM
Looks like a joke... :
As I say in the subject...
I create a javascript file, with this function:
function IndexChanged(source){
alert("Hallo");
return true;}
I include the file into a page with <script src="JS/filejs.js"
language="javascript" type="text/javascript"></script>, ... more >>
dotnet 1.1 Placeholder and css
Posted by xzzy at 2/26/2008 3:11:23 PM
Using dotnet 1.1 ( I cannot go to 2.0 or above because each frame in a
framed page, in dotnet 2.0 and above, has it's own session )
I am injecting controls into a placeholder, labels; textboxes, dropdowns,
listboxes
each control has a css assigned to it via code behind
Problem: the cont... more >>
VS2008 .NET 3.5 AJAX ContentTemplate display width w/master page
Posted by JM_newsgroups at 2/26/2008 2:21:21 PM
In VS Studio, the ContentTemplate within the UpdatePanel insists on
rendering as a smallish box. Anything I put inside wraps to the
boundaries of this box, and I can't get any feel for what my page will
look like. I think this is related to a DIV problem, but I've set all
DIVs I can find to "w... more >>
Request for the permission of type 'System.Web.AspNetHostingPermission...' failed
Posted by clintonb at 2/26/2008 2:00:43 PM
I hope this is the appropriate group for my question.
We have a Web Application Project that compiles just fine using Visual
Studio 2005 on Windows XP but it won't compile on Windows Vista.
The error is:
'Request for the permission of type
'System.Web.AspNetHostingPermission, System, Versio... more >>
Binding Objects
Posted by jerome.avoustin@gmail.com at 2/26/2008 1:48:00 PM
Hi All ! :)
I got some pbs with binding objects in ASP.Net 2.0
I've got such an object composition :
class Person
{
public string Name { get; set; }
public int Age { get; set; }
public Car Car { get; set; }
}
class Car
{
public string Type { get; set; }
public string... more >>
ClientID's
Posted by adda at 2/26/2008 1:29:51 PM
Hi,
Is there a way to stop ASP.NET from rendering ID dynamically?
In other words, to stop ctl00_ctl00_myTextbox format, and just render as
'myTextbox'?
Thanks
Chris... more >>
Slow site using Firefox
Posted by sheperson@googlemail.com at 2/26/2008 12:40:42 PM
Hi,
I am new to ASP.NET. I have created a web form with just two controls
on it a label and a button. When the button is clicked, the label's
text is updated with current time. It runs normaly when I view the
page in IE 7 on Vista. But when I use firefox it takes much longer to
load such a sim... more >>
vs2005 reformating my html - Why
Posted by Tina at 2/26/2008 12:04:11 PM
I've been using vs2005 a long time and today, all of a sudden, it begings to
reformat the code in my aspx page. It removes all of my carriage returns so
my whole page is one line and it capitalizes all of my tags - causing them
to flag as errors. but the project still compiles ok.
Anyone ... more >>
How to bind a class property to a textbox
Posted by cbtechlists@gmail.com at 2/26/2008 11:11:40 AM
I have a person class that has a 'name' property. I want to bind that
property to a textbox on an ASP.NET form.
In a winform, I can do something like this:
dim nameBinding as binding = new binding("text", me.person, "name",
true)
me.nameTB.databindings.add(nameBinding)
Is there an equiva... more >>
Full-Text Searching
Posted by Cindy at 2/26/2008 10:55:25 AM
Hi everyone,
I was wondering whether anyone had any experience designing Full-Text
Search web sites. More specifically, I am wondering what the
advantages are of using either SQL Server's Full-Text or a third party
application, such as Lucene.net ( http://www.dotlucene.net/ ).
I would like... more >>
Sending email
Posted by Paulo at 2/26/2008 10:26:08 AM
Hi, I need to send email everyday at 10PM. I've already a aspx page wich
reads the database and collects some data to be sent...
How can I configure the server to execute that asp page everyday? What do
you suggest?
Thanks in advance!
---------------------------------
sQuery = "select
... more >>
Frustrated setting up write permission to a folder
Posted by gnewsgroup at 2/26/2008 10:11:54 AM
OK, I know this sounds stupid, but I have been playing with this for
hours, and could not get a clue.
In my asp.net 2.0 web application, I generate charts on the fly. I
would like to save the charts png images in a particular folder. So,
I created a folder ChartImages under the root of my we... more >>
Beginner's question - How do you redirect a user to another page
Posted by RobG at 2/26/2008 9:07:26 AM
Hi there,
I have a form and when the user clicks the submit button, I want the handler
for that on the server side to redirect ("post") the form to a URL at
another site (not my own). It should appear to the user's browser as if the
form's "action" attribute were set to that site to begin w... more >>
Using window.confirm
Posted by JJ297 at 2/26/2008 8:20:04 AM
I want a confirmation as such and after the user clicks the okay
button go to the home page. Do I do something as such?
Submit.Attributes.Add("onclick", "return window.confirm('Your entry
was submitted.')")
Response.Redirect("Library.aspx")
Do I put it in the page load or submit_click?
... more >>
ScriptManager Navigate event clarification.
Posted by msch.prv@gmail.com at 2/26/2008 4:18:53 AM
I am using ASP.NET 3.5 Extension and have some questions about the
ScriptManager navigation event.
1. What exactly causes the ScriptManager navigation event to fire? Is
it a change of the url address (caused by adding a history point for
example), clicking on the browser's return button, or so... more >>
Bug in VS2008
Posted by Lars at 2/26/2008 4:06:53 AM
Hi Again
Now this IS a bug report for VS2008
Has any one else seen the effect that the webcontrols are moved when
switching from source to design view in an ASPx file. If I switch from a
source file to Design view in an ASPX file the controls are moved around on
the page. This bug is mos... more >>
job at home
Posted by suryan at 2/26/2008 3:29:26 AM
most of the people tired of going and coming back tohome from their
offices where they are working. So most of their time wasting in
transit as well as traffic . It is better to have a home based
business.
http://ejobsathome.blogspot.com/... more >>
Themes not working sometimes.
Posted by Jerry C at 2/26/2008 2:30:01 AM
I am setting the src of a Iframe in the page load like this:
fraContent.Attributes.Item("src") = "Splash.aspx"
and sometimes the themes do not work. The page displays in the browser but
the themes are not applied. The <link ... is on the page when I look at the
soruce.
Any Ideas.
Than... more >>
Work with Office Web Component OWC11.
Posted by oliviers at 2/26/2008 1:32:41 AM
Hi,
From an aspx (.net 2.0) web site, I basically want to provide my users
with some data in an excel format.
I found that a good way was to user the owc11 library (from Office
2003).
It runs great on my dev machine and, of course, bad from my production
server.
What I did:
- Add a refer... more >>
|