Click here to Skip to main content
15,909,530 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralListbox Control giving NULL reference exception Pin
PDTUM14-Jul-09 5:39
PDTUM14-Jul-09 5:39 
GeneralRe: Listbox Control giving NULL reference exception Pin
Kannan Ar14-Jul-09 5:58
professionalKannan Ar14-Jul-09 5:58 
GeneralRe: Listbox Control giving NULL reference exception Pin
PDTUM14-Jul-09 6:08
PDTUM14-Jul-09 6:08 
GeneralRe: Listbox Control giving NULL reference exception Pin
Kannan Ar14-Jul-09 6:14
professionalKannan Ar14-Jul-09 6:14 
GeneralRe: Listbox Control giving NULL reference exception Pin
DoctorMick14-Jul-09 6:19
DoctorMick14-Jul-09 6:19 
GeneralRe: Listbox Control giving NULL reference exception Pin
PDTUM14-Jul-09 6:32
PDTUM14-Jul-09 6:32 
GeneralRe: Listbox Control giving NULL reference exception Pin
PDTUM14-Jul-09 6:22
PDTUM14-Jul-09 6:22 
QuestionI have a problem with ajax pro dll Pin
manikandaprasad14-Jul-09 2:49
manikandaprasad14-Jul-09 2:49 
We are using AjaxPro2 and have following code:

JSTextTransfer.aspx

<script language="javascript" type="text/javascript">
function Getajaxfunction()
{
var flag = TextTransfer.CallAjaxFunction("Test");
alert(flag.value);
}
</script>

JSTextTransfer.aspx.cs

public partial class TextTransfer : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
AjaxPro.Utility.RegisterTypeForAjax(typeof(TextTransfer));
if (!IsPostBack)
{

}
Btn_Ajax.Attributes.Add("onclick", "javascripe:return Getajaxfunction();");

}
[AjaxPro.AjaxMethod]
public string CallAjaxFunction(string atr)
{
return "Test";
}
}

We get the following error:
TextTransfer is undefined.

The page is hosted on a server which has the following directory structure

/htdocs/
/htdocs/bin/AjaxPro2.dll
/htdocs/mysite/JSTextrTransfer.aspx (and .cs)

The tech support says the url which refers AjaxPro has to be changed.

We changed the web.config entries to:
<scriptReplacements>
<file name="prototype" path="http://www.mysite.com/ajaxpro/prototype.ashx" />
<file name="core" path="http://www.mysite.com/ajaxpro/core.ashx" />
<file name="converter" path="http://www.mysite.com/ajaxpro/converter.ashx" />
</scriptReplacements>

Still no luck.

There is a 4th line for ashx in 'view source'.
<script type="text/javascript" src="/ajaxproTextTransfer,App_Web_jstexttransfer.aspx.5d7ed009.aexw4iuf.ashx"></script>

How can this dynamic entry be added in the web.config? Is this what is causing the error?

Or is there any other solution to overcome this?

Thanks in advance.
AnswerRe: I have a problem with ajax pro dll Pin
Christian Graus14-Jul-09 5:17
protectorChristian Graus14-Jul-09 5:17 
AnswerRe: I have a problem with ajax pro dll Pin
Not Active14-Jul-09 5:43
mentorNot Active14-Jul-09 5:43 
QuestionHelp Related to database Pin
KhandelwalA14-Jul-09 1:40
KhandelwalA14-Jul-09 1:40 
AnswerRe: Help Related to database Pin
Christian Graus14-Jul-09 2:31
protectorChristian Graus14-Jul-09 2:31 
AnswerRe: Help Related to database Pin
Abhijit Jana14-Jul-09 2:33
professionalAbhijit Jana14-Jul-09 2:33 
QuestionProblem forming .msi file in Visual Studio 2005 Pin
Anujit14-Jul-09 1:20
Anujit14-Jul-09 1:20 
AnswerRe: Problem forming .msi file in Visual Studio 2005 Pin
Vimalsoft(Pty) Ltd14-Jul-09 2:00
professionalVimalsoft(Pty) Ltd14-Jul-09 2:00 
AnswerRe: Problem forming .msi file in Visual Studio 2005 Pin
Abhijit Jana14-Jul-09 2:25
professionalAbhijit Jana14-Jul-09 2:25 
Questionback up sql data programmetically Pin
billcodes14-Jul-09 0:44
billcodes14-Jul-09 0:44 
AnswerRe: back up sql data programmetically Pin
Manas Bhardwaj14-Jul-09 0:48
professionalManas Bhardwaj14-Jul-09 0:48 
AnswerRe: back up sql data programmetically Pin
r a m e s h14-Jul-09 0:51
r a m e s h14-Jul-09 0:51 
AnswerRe: back up sql data programmetically Pin
Sabari MD14-Jul-09 0:52
Sabari MD14-Jul-09 0:52 
AnswerRe: back up sql data programmetically Pin
Vimalsoft(Pty) Ltd14-Jul-09 2:28
professionalVimalsoft(Pty) Ltd14-Jul-09 2:28 
QuestionDynamically radiobuttons? Pin
Priya Prk14-Jul-09 0:18
Priya Prk14-Jul-09 0:18 
AnswerRe: Dynamically radiobuttons? Pin
s.crosby14-Jul-09 0:35
s.crosby14-Jul-09 0:35 
AnswerRe: Dynamically radiobuttons? Pin
Muhammad Mazhar14-Jul-09 0:41
Muhammad Mazhar14-Jul-09 0:41 
AnswerRe: Dynamically radiobuttons? Pin
Sabari MD14-Jul-09 0:51
Sabari MD14-Jul-09 0:51 

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.