| Current Path : C:/Users/Public/Documents/DXperience 13.1 Demos/ASP.NET/CS/HotelBooking/ |
| Current File : C:/Users/Public/Documents/DXperience 13.1 Demos/ASP.NET/CS/HotelBooking/Site.master.cs |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class SiteMaster : System.Web.UI.MasterPage
{
protected void Page_Load(object sender, EventArgs e) {
}
protected void searchBtn_Click(object sender, EventArgs e) {
if(!string.IsNullOrEmpty((string)tbSearch.Value)) {
Data.Instance.CurrentQuery = new SearchQuery() {
IsSearch = true
};
Response.Redirect("Results.aspx");
}
}
}