This is asked many times on asp.net forums,
1. How to call Server Side methods or functions using JavaScript in ASP.Net
2. How to call Server Side methods Client Side in ASP.Net
Now the answer...
Get URL Address ASP.NET
String strPathAndQuery = HttpContext.Current.Request.Url.PathAndQuery; String strUrl = HttpContext.Current.Request.Url.AbsoluteUri.Replace(strPathAndQuery, "/");Result "http://localhost:1234/""https://www.something.com/"...
Trigger UpdatePanel From ImageButton in GridView
protected void gvData_RowCreated(object sender, GridViewRowEventArgs e)
{
if (e.Row.RowType == DataControlRowType.DataRow)
{
ImageButton ibTrue = (ImageButton)e.Row.FindControl("imgButtonTrue");...
Pemberitahuan Di Iphone Saat Commuterline Mengalami Gangguan
Akhir-akhir ini kereta Commuterline sering kali mengalami gangguan. Dan walaupun account twitter @commuterline pasti memberitahukan gangguan tersebut, saya seringkali lupa untuk mengecek twitter.
nah,...
Regex Password
(?=.*?[A-Z])(?=.*?[A-Z])(?=.*?[^a-zA-Z]).{8,}
string must contain lower case, upper case, number and min 8 character
(adsbygoogle = window.adsbygoogle || []).push({})...