Click here to Skip to main content
15,898,371 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Image With WebService Pin
Sandeep Akhare12-Feb-07 1:57
Sandeep Akhare12-Feb-07 1:57 
QuestionSystem.Windows.Forms Database Framework and ASP.NET Pin
Lindsay_Mathieson11-Feb-07 15:17
Lindsay_Mathieson11-Feb-07 15:17 
QuestionArithmetic Overflow etc...Error for datetime in gridview Pin
BORN...again!11-Feb-07 14:22
BORN...again!11-Feb-07 14:22 
QuestionHow to Sharpen Image? Pin
achimera11-Feb-07 13:57
achimera11-Feb-07 13:57 
AnswerRe: How to Sharpen Image? Pin
Rahithi11-Feb-07 17:40
Rahithi11-Feb-07 17:40 
GeneralRe: How to Sharpen Image? Pin
achimera11-Feb-07 20:45
achimera11-Feb-07 20:45 
GeneralRe: How to Sharpen Image? Pin
Rahithi16-Feb-07 6:56
Rahithi16-Feb-07 6:56 
QuestionMaintain focus between postbacks Pin
Ulf Andersson11-Feb-07 11:01
Ulf Andersson11-Feb-07 11:01 
I have been reading George Mamaladzes artickle about Maintain focus between postbacks in ASP.NET 2.0 also in ASP.NET AJAX

The sample is in C# but I am a VB

This is the script containd in a string he is insering and change
Private Const SCRIPT_DOFOCUS As String = "window.setTimeout('DoFocus()', 1); function DoFocus() { try { document.getElementById('REQUEST_LASTFOCUS').focus(); } catch (ex) {} }"

replaces REQUEST_LASTFOCUS in SCRIPT_DOFOCUS with the posted value from Request["__LASTFOCUS"] and registers the script to start after Update panel was rendered

This is the working C# code
ScriptManager.RegisterStartupScript(this,typeof(_Default), "ScriptDoFocus", SCRIPT_DOFOCUS.Replace("REQUEST_LASTFOCUS", Request["__LASTFOCUS"]),true);

This is my VB code that filsFrown | :(
ScriptManager.RegisterStartupScript(Me, Me.GetType(), "ScriptDoFocus",
SCRIPT_DOFOCUS.Replace('REQUEST_LASTFOCUS', Request['__LASTFOCUS']), True)

Any idea:->

Ulf Andersson

QuestionASP.NET and Flash Pin
nour12311-Feb-07 6:44
nour12311-Feb-07 6:44 
QuestionCalendar1 Pin
Blue_Boy11-Feb-07 4:08
Blue_Boy11-Feb-07 4:08 
QuestionHyperLink in GridView Pin
Mohammed Elkholy11-Feb-07 1:19
Mohammed Elkholy11-Feb-07 1:19 
AnswerRe: HyperLink in GridView Pin
BORN...again!11-Feb-07 13:35
BORN...again!11-Feb-07 13:35 
GeneralRe: HyperLink in GridView Pin
Mohammed Elkholy11-Feb-07 20:31
Mohammed Elkholy11-Feb-07 20:31 
QuestionView State "32 bit encoded" Pin
DavidsMaguire11-Feb-07 0:14
DavidsMaguire11-Feb-07 0:14 
AnswerRe: View State "32 bit encoded" Pin
Colin Angus Mackay11-Feb-07 0:29
Colin Angus Mackay11-Feb-07 0:29 
GeneralRe: View State "32 bit encoded" Pin
DavidsMaguire11-Feb-07 0:45
DavidsMaguire11-Feb-07 0:45 
GeneralRe: View State "32 bit encoded" Pin
Colin Angus Mackay11-Feb-07 3:38
Colin Angus Mackay11-Feb-07 3:38 
GeneralRe: View State "32 bit encoded" Pin
Guffa11-Feb-07 14:24
Guffa11-Feb-07 14:24 
GeneralRe: View State "32 bit encoded" Pin
DavidsMaguire11-Feb-07 22:00
DavidsMaguire11-Feb-07 22:00 
GeneralRe: View State "32 bit encoded" Pin
Colin Angus Mackay12-Feb-07 1:57
Colin Angus Mackay12-Feb-07 1:57 
Questiononmouseover Javascript event Pin
Blue_Boy11-Feb-07 0:11
Blue_Boy11-Feb-07 0:11 
AnswerRe: onmouseover Javascript event Pin
Guffa11-Feb-07 0:20
Guffa11-Feb-07 0:20 
GeneralRe: onmouseover Javascript event Pin
Blue_Boy11-Feb-07 0:24
Blue_Boy11-Feb-07 0:24 
AnswerRe: onmouseover Javascript event Pin
Guffa11-Feb-07 11:23
Guffa11-Feb-07 11:23 
QuestionWeb.Config error Pin
obarahmeh10-Feb-07 23:58
obarahmeh10-Feb-07 23:58 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.