Description: override public void SetFocus(System.Web.UI.Control ctrl)
{
StringBuilder s = new StringBuilder()
s.Append("<SCRIPT language=\"javascript\">"+ "\n")
s.Append("document.getElementById(\ "+ ctrl.ID+ "\ ).focus() "+ "\n")
s.Append("</SCRIPT>"+ "\n" )
RegisterStartupScript("focus", s.ToString())
}
To Search:
File list (Check if you may need any files):
SCADA_CITY
..........\SCADA_CITY
..........\..........\App_Code
..........\..........\........\AssemblyInfo.cs
..........\..........\........\CCommonTool.cs
..........\..........\........\CProject.cs
..........\..........\........\CSqlTool.cs
..........\..........\........\CUploadTool.cs
..........\..........\........\Global.asax.cs
..........\..........\........\Migrated
..........\..........\........\........\Stub_Login_aspx_cs.cs
..........\..........\........\........\Stub_LogOut_aspx_cs.cs
..........\..........\........\........\vssver2.scc
..........\..........\........\SqlClass.cs
..........\..........\........\SQLHelper.cs.exclude
..........\..........\........\vssver2.scc
..........\..........\Backup
..........\..........\......\mssccprj.scc
..........\..........\......\SCADA_CITY.sln
..........\..........\......\SCADA_CITY.suo
..........\..........\......\vssver2.scc
..........\..........\......\SCADA_CITY
..........\..........\bin
..........\..........\...\chive.web.ui.calendar.dll
..........\..........\...\ComponentArt.Web.UI.DLL
..........\..........\...\Dundas.Charting.WebControl.Chart.lic
..........\..........\...\Dundas.Gauges.WebControl.GaugeContainer.lic
..........\..........\...\DundasWebChart.dll
..........\..........\...\DundasWebChart.xml
..........\..........\...\DundasWebGauge.DLL
..........\..........\...\DundasWebGauge.xml
..........\..........\...\Interop.SQLDMO.dll
..........\..........\...\pinTab.dll
..........\..........\...\pinTab.js
..........\..........\...\pinTabWeb.dll
..........\..........\...\System.Web.Extensions.dll
..........\..........\...\vssver2.scc
..........\..........\...\xbin.exe
..........\..........\css
..........\..........\...\input.css
..........\..........\...\leftmenu.css
..........\..........\...\menuStyle.css
..........\..........\...\ontime.css
..........\..........\...\scroll_skin.css
..........\..........\...\scroll_skin_find.css
..........\..........\...\Simulator_ontime.css
..........\..........\...\Style.css
..........\..........\...\style2.css
..........\..........\...\treeStyle.css
..........\..........\...\vssver2.scc
..........\..........\Global.asax
..........\..........\Global.asax.resx
..........\..........\images
..........\..........\......\AboutBlack.gif
..........\..........\......\ball_glass_redS.gif
..........\..........\......\Black.jpg
..........\..........\......\button
..........\..........\......\......\add.gif
..........\..........\......\......\affirm.gif
..........\..........\......\......\alarmsound_close.gif
..........\..........\......\......\alarmsound_open.gif
..........\..........\......\......\budiao.gif
..........\..........\......\......\cancel.gif
..........\..........\......\......\clear.gif
..........\..........\......\......\collectionsend.gif
..........\..........\......\......\download.gif
..........\..........\......\......\exit.gif
..........\..........\......\......\exit_ontime.gif
..........\..........\......\......\exit_Simulator.gif
..........\..........\......\......\find.gif
..........\..........\......\......\input.gif
..........\..........\......\......\input_1.gif
..........\..........\......\......\left.gif
..........\..........\......\......\login.jpg
..........\..........\......\......\Min.gif
..........\..........\......\......\move.gif
..........\..........\......\......\refurbish.gif
..........\..........\......\......\refurbish_1.gif
..........\..........\......\......\return.gif
..........\..........\......\......\right.gif
..........\..........\......\......\send.gif
..........\..........\......\......\setting.gif
..........\..........\......\......\showwindow.gif
..........\..........\......\......\Simulator.gif
..........\..........\......\......\stationsetting.gif
..........\..........\......\......\subit.gif
..........\..........\......\......\Thumbs.db
..........\..........\......\......\vssver2.scc
..........\..........\......\cache.gif
..........\..........\......\Calendar.bmp
..........\..........\......\chartbuttons
..........\..........\......\............\Buttons_r2_c2_f2.gif
..........\...