Rad Windows Alert, Confirm and Prompt

Hello Friends, in this post I am going to describe how to use the Rad Alert, Confirm and Prompt from client side and from server side. Setting up these popups is very simple. Below I am going to show how we can setup these popups from server side and client side according to our need.(…)

How to Dynamically Change the Image of GridButton Column

In order to set the Image for the GridButton Column, you need to access the control first and then set the Image dynamically. Here is a sample code. if (e.Item is GridDataItem) { var item = (GridDataItem)e.Item; if() // your condition here (item["Your GridButton Column Name "].Controls[0] as ImageButton).ImageUrl = “~/Content/Images/icon_cancel_fade.gif”; } Enjoy…..

Visible or Disable some GridButtonColumn

In order to set the visibility for the control , you need to access the control first and then set the visibility. Here is a sample code. [C#] protected void RadGrid1_ItemDataBound(object sender, GridItemEventArgs e) { if (e.Item is GridDataItem) { GridDataItem item = (GridDataItem)e.Item; if (Item.FindControl(“UniqueName”) as Textbox (your control name))//your condition { item ["UniqueName"].Visible=false;(…)

Insert Data Into Database In Asp.Net Mvc

Hello world, I am going to show you, How we can insert the data into database in Asp.Net Mvc 3.0 Its different from asp.net now i will show you how we can insert the data into database. First of all create a controller name Student, you can give any name but in this example i(…)

Clean
Last scanned on:
2013-05-13 02:59:16