Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:874845
More Search Options
RSS Available
Matching Posts
check session
I have the following code in my code behind protected void Page_Load( object sender, EventArgs e) { if (!Page.IsPostBack) if (Session[ "user" ] == null ) Response.Redirect( ~/login.aspx" ); } I successfully redirect to the login.aspx page if I test it on my local machine. However when uploaded to the server it doesn't redirect to my login.aspx page. Any idea?
Posted to
Getting Started
(Forum)
by
TheRekz
on 7/14/2009
Re: check session
any other idea besides this....
Posted to
Getting Started
(Forum)
by
TheRekz
on 7/14/2009
can't get grid view to be updated
I have the following grid view code: < asp : GridView ID ="GridView1" runat ="server" DataSourceID ="yukexploredatabase" style =" text-align : center" Width ="584px" > < Columns > < asp : Commandfield ShowEditButton ="True" /> </ Columns > </ asp : GridView > < asp : SqlDataSource ID ="yukexploredatabase" runat ="server" ConnectionString =" <%$ ConnectionStrings:ie8_facebookConnectionString
Posted to
Data Presentation Controls
(Forum)
by
TheRekz
on 7/13/2009
Filed under: SQL SERVER, Grid view Row_Editing
accessing javascript from code behind
I have a javascript function in my puz.aspx called gameFinish and I can invoke the function from puz.aspx.cs by doing the following: HtmlPage .Window.Invoke( "gameFinish" , some argument); Now I want to move this gameFinish method to a separate .js file. How should I change the code above from my code behind so it can still access the gameFinish javascript from code behind?
Posted to
Client Side Web Development
(Forum)
by
TheRekz
on 7/10/2009
Re: media element
Canvas [] cI = new Canvas [ 9 ]; MediaElement [] me = new MediaElement [ 9 ]; int blockSizeW = 97 ; int blockSizeH = 97 ; void InitBoard () { int nx = 0 ; for ( int ix = 0 ; ix < 3 ; ix ++) for ( int iy = 0 ; iy < 3 ; iy ++) { nx = ( ix * 3 ) + iy ; me [ nx ] = new MediaElement (); me [ nx ]. Height = 300 ; me [ nx ]. Width = 300 ; me [ nx ]. Stretch = Stretch . UniformToFill ; RectangleGeometry r = new RectangleGeometry (); r . Rect = new Rect (( ix * blockSizeW ), ( iy * blockSizeH ), blockSizeW
Posted to
ASP.NET Controls for Silverlight
(Forum)
by
TheRekz
on 7/4/2009
media element
I have a video and I want to divide the video into 9 parts... so therefore I will have an array of media elements, how do I make so that each media element corresponds to a different part in the video, so say I have media element called me1, I want me1 to display the top left part of the video... Is there a way to control this via the source?
Posted to
ASP.NET Controls for Silverlight
(Forum)
by
TheRekz
on 7/3/2009
Re: media element
I can post the code that I have here so far, how do you post codes in this site?
Posted to
ASP.NET Controls for Silverlight
(Forum)
by
TheRekz
on 7/3/2009
sql table to csv
How can I export a table from a database into a csv file?
Posted to
SQL Server, SQL Server Express, and SqlDataSource Control
(Forum)
by
TheRekz
on 6/25/2009
save string builder to csv
I already have a string builder and the format is already a string separated by a comma. Now what I want is that when the user clicks this button it brings up the save as box to save this string builder as a .csv. How can I do that?
Posted to
Web Forms
(Forum)
by
TheRekz
on 6/25/2009
weird results when calling methods
The code is the following: public string GetPassword() { StringBuilder builder = new StringBuilder(); builder.Append(RandomString(4, true)); builder.Append(RandomNumber(1000, 9999)); builder.Append(RandomString(2, false)); return builder.ToString(); } public string GetPassword() { StringBuilder builder = new StringBuilder(); builder.Append(RandomString(4, true)); builder.Append(RandomNumber(1000, 9999)); builder.Append(RandomString(2, false)); return builder.ToString(); } while (rdr.Read()) { if
Posted to
Getting Started
(Forum)
by
TheRekz
on 6/25/2009
Page 1 of 3 (21 items) 1
2
3
Next >
Silverlight:
HVP – Core Scaffolding and Updated News
Channel 9:
TWC9: 2009 - The Year in Review
ASP.NET:
Tip#100: Did you know… How to view ASP.NET trace information?
ASP.NET:
Passing anonymous objects to MVC views and accessing them using dynamic
Channel 9:
Channel 9 Live at PDC09: Coding 4 Fun
Channel 9:
Channel 9 Live at PDC09: Stephen Toub
WindowsClient:
Mouse Gestures for Internet Explorer
Channel 9:
Controlling concurrency in Rx
Channel 9:
Dev Tools Ecosystem Summit Videos Available
WindowsClient:
Using Cerebrata's Cloud Storage Studio To Download IIS logs from Multiple Instances of Windows Azure
TechNet Edge:
TechNet Radio: Office 2007 Setup and Configuration (Part 1)
Channel 10:
How-To: Listen to Your Zune Pass Music on Your WinMo Phone
Channel 10:
Share Your Screen with SharedView
Channel 10:
Get Microsoft Tinker Game For Free
Channel 10:
LG eXpo WinMo 6.5 Unboxing Video
Channel 9:
ADFS 2.0 RC is Here!
Channel 10:
Bing Reference Updated with New Sidebar Features
Channel 10:
Look Behind SurfaceScapes
ASP.NET:
Moving your ASP.NET Application to Windows Azure – Part I
TechNet Edge:
Windows Server 2008 R2 Quick Look- Installing the Migration Tools
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online