Click here to Skip to main content
16,004,828 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: SpellCheck Error Pin
Christian Graus30-Jun-08 11:00
protectorChristian Graus30-Jun-08 11:00 
QuestionAccess denied to folder in ASP.NET project either though I have granted all users full permissions !! Pin
truegilly30-Jun-08 2:48
truegilly30-Jun-08 2:48 
AnswerRe: Access denied to folder in ASP.NET project either though I have granted all users full permissions !! Pin
truegilly30-Jun-08 3:14
truegilly30-Jun-08 3:14 
Questionuser control Problem Pin
Ajeet mittal30-Jun-08 2:29
Ajeet mittal30-Jun-08 2:29 
AnswerRe: user control Problem Pin
eyeseetee30-Jun-08 2:45
eyeseetee30-Jun-08 2:45 
GeneralRe: user control Problem Pin
Ajeet mittal30-Jun-08 2:48
Ajeet mittal30-Jun-08 2:48 
GeneralRe: user control Problem Pin
eyeseetee30-Jun-08 3:03
eyeseetee30-Jun-08 3:03 
GeneralRe: user control Problem Pin
Gayani Devapriya30-Jun-08 6:01
Gayani Devapriya30-Jun-08 6:01 
Hi,
Sorry for the delay...there was a problem in the site..
You need to raise an event to the page. Here is how to do it.
First let’s create delegate and define an event of type of the delegate. And call that event in the button click event.
Add this code your ascx.cs file
public delegate void LoadGridHandler();
public event LoadGridHandler LoadGrid;
protected void Button1_Click(object sender, EventArgs e)
{
this.LoadGrid();

}
Now, in your aspx file, raise that event during the page load of your page.
Take this code..
protected void Page_Load(object sender, EventArgs e)
{
MyControl1.LoadGrid += new Controls_MyControl.LoadGridHandler(MyControl1_LoadGrid);
}

void MyControl1_LoadGrid()
{
//write the method to load you grid
Response.Write("Hi from Gayani");
}

Hope it works
Thx,
Gayani
GeneralRe: user control Problem Pin
Ajeet mittal1-Jul-08 1:51
Ajeet mittal1-Jul-08 1:51 
QuestionValidator.RenderControl(htmlTextWriter) returns empty string? Pin
livez30-Jun-08 2:02
livez30-Jun-08 2:02 
AnswerRe: Validator.RenderControl(htmlTextWriter) returns empty string? Pin
ToddHileHoffer30-Jun-08 2:41
ToddHileHoffer30-Jun-08 2:41 
GeneralRe: Validator.RenderControl(htmlTextWriter) returns empty string? Pin
livez30-Jun-08 3:05
livez30-Jun-08 3:05 
QuestionHow to dispaly an image Pin
phetolel30-Jun-08 1:48
phetolel30-Jun-08 1:48 
AnswerRe: How to dispaly an image Pin
eyeseetee30-Jun-08 2:18
eyeseetee30-Jun-08 2:18 
GeneralRe: How to dispaly an image Pin
phetolel30-Jun-08 2:21
phetolel30-Jun-08 2:21 
GeneralRe: How to dispaly an image Pin
eyeseetee30-Jun-08 2:43
eyeseetee30-Jun-08 2:43 
GeneralRe: How to dispaly an image Pin
phetolel30-Jun-08 2:48
phetolel30-Jun-08 2:48 
GeneralRe: How to dispaly an image Pin
eyeseetee30-Jun-08 3:06
eyeseetee30-Jun-08 3:06 
Questionclass problem Pin
Miss Maheshwari30-Jun-08 1:45
Miss Maheshwari30-Jun-08 1:45 
AnswerRe: class problem Pin
eyeseetee30-Jun-08 2:19
eyeseetee30-Jun-08 2:19 
GeneralRe: class problem Pin
Miss Maheshwari30-Jun-08 2:25
Miss Maheshwari30-Jun-08 2:25 
GeneralRe: class problem Pin
eyeseetee30-Jun-08 2:34
eyeseetee30-Jun-08 2:34 
QuestionTrim value of textbox in javascript Pin
BalasubramanianK30-Jun-08 1:36
BalasubramanianK30-Jun-08 1:36 
AnswerRe: Trim value of textbox in javascript Pin
eyeseetee30-Jun-08 2:20
eyeseetee30-Jun-08 2:20 
GeneralRe: Trim value of textbox in javascript Pin
BalasubramanianK30-Jun-08 19:07
BalasubramanianK30-Jun-08 19:07 

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.