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

ASP.NET

 
QuestionRequired Help for reuiredfieldvalidator Pin
mohd imran abdul aziz11-Jan-07 19:53
mohd imran abdul aziz11-Jan-07 19:53 
AnswerRe: Required Help for reuiredfieldvalidator Pin
varshavmane11-Jan-07 20:01
varshavmane11-Jan-07 20:01 
AnswerRe: Required Help for reuiredfieldvalidator Pin
sunilkr11-Jan-07 22:34
sunilkr11-Jan-07 22:34 
Questionhow to check whether all check boxes are selected or not Pin
Rmesh11-Jan-07 19:26
Rmesh11-Jan-07 19:26 
AnswerRe: how to check whether all check boxes are selected or not Pin
varshavmane11-Jan-07 20:17
varshavmane11-Jan-07 20:17 
AnswerRe: how to check whether all check boxes are selected or not Pin
sunilkr11-Jan-07 22:44
sunilkr11-Jan-07 22:44 
GeneralRe: how to check whether all check boxes are selected or not Pin
sunilkr11-Jan-07 22:46
sunilkr11-Jan-07 22:46 
QuestionCalling Managed code from c# dll. Is it possible? Pin
Prakash.Ramamurthy1@wipro.com11-Jan-07 19:22
Prakash.Ramamurthy1@wipro.com11-Jan-07 19:22 
Hi, I’m in process of creating dlls for Web User Controls in ASP.NET v 2.0. Let me explain what exactly my problem is.

UserControl.ascx.cs to be wrapped into dll:

public partial class Controls_Search : System.Web.UI.UserControl
{

protected void Page_Load(object sender, EventArgs e)
{
Label1.Text = testMethod();
}

public string testMethod()
{
return "Yes Iam here " + Sample.testMethod1();
}
}

public class Sample
{
public static string testMethod1()
{
return "Only";
}
}

I’ve created the dll successfully with the name Search.dll. Also i referenced this dll inside my new project. Now, whenever I load this in my page, testMethod() is being called, consequently the output is "Yes Iam here Only". That’s cool. But I should be in a position to override Sample.testMethod1()Wrapped inside the dll with my project’s App_Code class say class1.cs.

This is my new class within the project in App_Code/Class1.cs.

public class Sample
{
public static string testMethod1()
{
return "Only1";

}
}

I also tried virtual & override with testMethod1() being defined as non-static member of that class. Nothing works.

My output should be: "Yes Iam here Only1"


Thanks in advance,
R. Prakash.
Questionhandling validatiors in javascript Pin
VaibhavTiparadi11-Jan-07 19:15
VaibhavTiparadi11-Jan-07 19:15 
AnswerRe: handling validatiors in javascript Pin
Sam's Den11-Jan-07 23:41
Sam's Den11-Jan-07 23:41 
QuestionWhile Rendering the Page Specified cast is not valid Pin
pavanabollineni11-Jan-07 18:39
pavanabollineni11-Jan-07 18:39 
QuestionApostropy Problem Pin
Khan.Bangash11-Jan-07 18:37
Khan.Bangash11-Jan-07 18:37 
AnswerRe: Apostropy Problem Pin
Sebastian T Xavier11-Jan-07 21:17
Sebastian T Xavier11-Jan-07 21:17 
AnswerRe: Apostropy Problem Pin
sunilkr11-Jan-07 22:59
sunilkr11-Jan-07 22:59 
QuestionThreading Pin
miniThomas11-Jan-07 18:22
miniThomas11-Jan-07 18:22 
AnswerRe: Threading Pin
suketh11-Jan-07 18:25
suketh11-Jan-07 18:25 
GeneralRe: Threading Pin
miniThomas11-Jan-07 18:47
miniThomas11-Jan-07 18:47 
QuestionDifference b/w Dataset & Recordset? Pin
suketh11-Jan-07 18:22
suketh11-Jan-07 18:22 
AnswerRe: Difference b/w Dataset & Recordset? Pin
_AK_11-Jan-07 18:25
_AK_11-Jan-07 18:25 
GeneralRe: Difference b/w Dataset & Recordset? Pin
suketh11-Jan-07 18:33
suketh11-Jan-07 18:33 
GeneralRe: Difference b/w Dataset & Recordset? Pin
_AK_11-Jan-07 18:40
_AK_11-Jan-07 18:40 
QuestionGarbage Collector Pin
miniThomas11-Jan-07 17:57
miniThomas11-Jan-07 17:57 
AnswerRe: Garbage Collector Pin
Captain See Sharp11-Jan-07 18:00
Captain See Sharp11-Jan-07 18:00 
GeneralRe: Garbage Collector Pin
Amit Kumar G11-Jan-07 18:09
Amit Kumar G11-Jan-07 18:09 
GeneralRe: Garbage Collector Pin
miniThomas11-Jan-07 18:21
miniThomas11-Jan-07 18:21 

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.