all groups > asp.net > february 2008 > threads for monday february 25
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
Session State with MVC?
Posted by coconet at 2/25/2008 10:59:37 PM
I am experimenting with the ASP.NET MVC bitwiths in Visual Studio
2008, and would like to know how to use SessionState. Can someone show
an example or link to an example?
Also, I would like to show a complex and rich GridView in my View,
with hyperlinks, imagebuttons, etc. Can someone point me... more >>
access web.config from another dll
Posted by Tem at 2/25/2008 9:45:40 PM
my DAL is in a separate dll/project than the website project.
how would I go about accessing/referencing a connectstring in the web.config
file in the website project ?
so I don't have to hard code the connect string in the code file of the DAL
dll.
Tem
... more >>
CAPTCHA component
Posted by ad at 2/25/2008 9:39:54 PM
I use form authentication mode to verify users like:
<authentication mode="Forms">
<forms name="MyCookie" loginUrl="Login.aspx" defaultUrl="Home.aspx"
protection="Validation">
and I want to use a CAPTCHA component form
http://www.codeproject.com/KB/custom-controls/CaptchaControl.aspx
But... more >>
Accessing MasterPage Properties from a usercontrol on a contentpage??
Posted by wildman@noclient.net at 2/25/2008 5:16:28 PM
RE: Accessing MasterPage Properties from a usercontrol on a
contentpage??
On my master page's codebehind I have this property:
Public Property ErrorMsg() As String
Get
Return ErrorLabel.Text
End Get
Set(ByVal value As String)
ErrorLa... more >>
Problem creating web site - VS 2005
Posted by Tom Nowak at 2/25/2008 4:05:01 PM
In Visual Studio 2005, I click File, then New Web Site, then in the New Web
Site window, I select HTTP in the Location combo box. No matter what I do,
the OK button remains grayed out. Why does this happen, and what do I have
to do to fix it. I have IIS installed on my Windows Vista Home Pr... more >>
ASP.NET and Bluetooth Printers
Posted by z71mdridin at 2/25/2008 2:35:17 PM
I have an asp.net inventory application that is run from handheld
scanners all over our company. Users are able to perform various
inventory transactions from the handheld, and then server side they
can print transaction tickets to our network printers. We also have
several non-network bluetoo... more >>
[Help] Url rewriting and Images ref
Posted by Fransis il Mulo at 2/25/2008 2:21:59 PM
I wrote code to manage Urlrewriting in Application_BeginRequest:
if (!System.IO.File.Exists(Request.PhysicalPath))
{
string sRequestedUrl = Request.Path;
string sTargetUrl = GetRurl(sRequestedUrl);
Context.RewritePath(sTargetUrl, false);
}
GetRurl map real url on virtual url.
... more >>
communicating with Masterpage from UserControl
Posted by wildman@noclient.net at 2/25/2008 11:17:08 AM
I have a Master page with property for ErrorMsgs. From my aspx pages I
can set that property resulting in a popup.
Whats the best way to have that same result from a user control. Say I
get an error in my usercontrol and I want to trip that popup in the
masterpage?
Thanks for any help or in... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
AJAX Suggestions
Posted by Jonathan Wood at 2/25/2008 9:43:18 AM
I am completely new to AJAX.
I have a GridView control and my client is complaining that, whenever they
select a row in the grid, the page resets to the top of the page.
It seems like AJAX would be ideal if I could have the GridView update
without updating the entire page. However, most of... more >>
Download Large data
Posted by Husam at 2/25/2008 9:13:10 AM
Hi EveryBody:
I have the following code to download the data from my web application:
the code is:
Dim rawan As New List(Of String) ' for File Name
Dim rawan1 As New List(Of Byte()) ' for the data for each file
Dim objconn As SqlConnection = New
SqlConnection(ConfigurationManager.Connec... more >>
Selecting a row in a gridview
Posted by katmagic at 2/25/2008 9:02:23 AM
I have the SelectedValue of a gridview, how do I select the row based on
that information?
... more >>
Need help with another code question...
Posted by JJ297 at 2/25/2008 8:19:19 AM
I have two textboxes on the page...shipdate and duedate. When the
page loads, shipdate has today's date loaded and duedate has a date
that's 28 days later than today. When I change the dates and submit
it's not updating in the database instead I'm getting the two dates in
pageload.
I am get... more >>
Display BLOB in crystalreportviewer
Posted by gsauns at 2/25/2008 7:51:33 AM
I store images in my SQL 2005 database in a varbinary(max) field.
I want to display them in a Crystal Report. Within Crystal Reports,
when I put the field on the page and preview the report, it shows up.
Great.
But I wish to display it within a CrystalReportViewer control. When I
do this, it ... more >>
Need help with code...
Posted by JJ297 at 2/25/2008 7:05:34 AM
I have a field called Office Code on my page. It's not mandatory that
it be filled in but if it's not filled in I want 0000 to go into the
database. How do I write this? I attempted it below.
Dim cmd As New Data.SqlClient.SqlCommand
With cmd
.Connection = conn
... more >>
Implementing IScriptControl in UserConttrol
Posted by Pedro Ferreira at 2/25/2008 6:38:02 AM
Hi,
Is it possible to implement the IScriptControl in a UserControl?
I keep getting the following error: "Sys.ArgumentException: Value must not
be null for Controls and Behaviors. Parameter name: element"
I have no problems implementing it in a server control, but can't get it to
work o... more >>
Accessing client side printer for crystal report printing
Posted by prashant kumar srivastava at 2/25/2008 4:59:00 AM
Hi all ,
My web application is running on server and when i want to print the crystal
report in my application,it prints on the default printer which is installed
on the server (LAN printer ), but i want to print through printer which is
installed locally on my PC.
Thanks in advan... more >>
Prevent accessing page via browser history
Posted by Pål A. at 2/25/2008 4:35:14 AM
Have a "standard" asp.net web solution which uses the standard asp.net
authentication and authorization methods (forms authentication).
Some users have raised concern that even if you logout (which brings
the user back to the login.aspx page) you can seemingly navigate back
in via the back-but... more >>
"Access denied" when viewing my ajax asp.net web page in outlook 2003
Posted by noureddine@astoine.com at 2/25/2008 3:31:27 AM
When I create a folder in outlook and give it a homepage url to an
ajax
asp.net page I've developed, I get ajax errors on my page when viewed
in
outlook. The Error is : "Access is denied".
I don't get this error when viewing the page directely in IE.
Thank you
Noro... more >>
Gridview RowUpdating Not Firing
Posted by nick chan at 2/25/2008 1:45:49 AM
Hi i run into some difficulties getting rowupdating to fire when
clicking Update link/button on gridview
I set datasource at runtime, basically a datatable
Edit and Cancel works. I don't know why RowUpdating just doesn't fire.... more >>
Handling Events For Dynamically Created Buttons
Posted by Nathan Sokalski at 2/25/2008 12:38:45 AM
I have LinkButtons that are dynamically created in one of the PostBack
events. They must be created in the PostBack event because one of the
variables required to determine which ones to create comes from the event
arguments. Because the LinkButtons are not created in the Init event, they
wi... more >>
|