Click here to Skip to main content
15,891,409 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questioninstance problem Pin
Kissy1623-Jun-09 23:04
Kissy1623-Jun-09 23:04 
AnswerRe: instance problem Pin
Manas Bhardwaj23-Jun-09 23:08
professionalManas Bhardwaj23-Jun-09 23:08 
GeneralRe: instance problem Pin
Kissy1623-Jun-09 23:30
Kissy1623-Jun-09 23:30 
GeneralRe: instance problem Pin
Christian Graus23-Jun-09 23:40
protectorChristian Graus23-Jun-09 23:40 
GeneralRe: instance problem Pin
Kissy1623-Jun-09 23:56
Kissy1623-Jun-09 23:56 
GeneralRe: instance problem Pin
Abhijit Jana23-Jun-09 23:49
professionalAbhijit Jana23-Jun-09 23:49 
GeneralRe: instance problem Pin
Kissy1624-Jun-09 0:21
Kissy1624-Jun-09 0:21 
QuestionJavascript Error: "Object Required" [modified] Pin
Qasim198423-Jun-09 23:00
professionalQasim198423-Jun-09 23:00 
hi
I have a freetextbox, a hiddenfield and a button on my web page. By pressing the button it insert the text from hiddenfield into freetextbox at current cursor position. I am doing this task using java script. when I run the webpage it give me Object required error. The code is given below

//Javascript Code



// HTML Code


<FTB:FreeTextBox id="FreeTextBox1" toolbarlayout="ParagraphMenu,FontFacesMenu,FontSizesMenu,

FontForeColorsMenu,FontForeColorPicker,FontBackColorsMenu,
runat="Server" DesignModeCss="designmode.css"/>;

<asp:HiddenField ID="HiddenField1" runat="server" />;

<asp:Button ID="btnInsert" Text="Insert Text" CssClass="button" runat="server" />;

I have registered the click event on pageload

protected void Page_Load(object sender, EventArgs e)
{
HiddenField1.Value = Guid.NewGuid().ToString();
btnInsert.Attributes.Add("onClick", "Show()");
}

When I run this page it give me error

"Object required"
Object required FormBuilder.aspx, line 644 character 29


Please help me

<div class="ForumMod">modified on Wednesday, June 24, 2009 5:35 AM</div>
AnswerRe: Javascript Error: "Object Required" Pin
Christian Graus23-Jun-09 23:04
protectorChristian Graus23-Jun-09 23:04 
GeneralRe: Javascript Error: "Object Required" Pin
Qasim198423-Jun-09 23:19
professionalQasim198423-Jun-09 23:19 
GeneralRe: Javascript Error: "Object Required" Pin
Christian Graus23-Jun-09 23:41
protectorChristian Graus23-Jun-09 23:41 
GeneralRe: Javascript Error: "Object Required" Pin
Qasim198423-Jun-09 23:53
professionalQasim198423-Jun-09 23:53 
AnswerRe: Javascript Error: "Object Required" Pin
Baran M23-Jun-09 23:12
Baran M23-Jun-09 23:12 
GeneralRe: Javascript Error: "Object Required" Pin
Qasim198423-Jun-09 23:24
professionalQasim198423-Jun-09 23:24 
GeneralRe: Javascript Error: "Object Required" Pin
Baran M23-Jun-09 23:31
Baran M23-Jun-09 23:31 
GeneralRe: Javascript Error: "Object Required" Pin
Qasim198423-Jun-09 23:40
professionalQasim198423-Jun-09 23:40 
GeneralRe: Javascript Error: "Object Required" Pin
Baran M24-Jun-09 1:33
Baran M24-Jun-09 1:33 
AnswerRe: Javascript Error: "Object Required" Pin
himanshu256123-Jun-09 23:17
himanshu256123-Jun-09 23:17 
AnswerRe: Javascript Error: "Object Required" Pin
Chetan.visodiya24-Jun-09 1:37
Chetan.visodiya24-Jun-09 1:37 
GeneralRe: Javascript Error: "Object Required" Pin
Qasim198424-Jun-09 1:48
professionalQasim198424-Jun-09 1:48 
AnswerRe: Javascript Error: "Object Required" Pin
Chetan.visodiya24-Jun-09 1:57
Chetan.visodiya24-Jun-09 1:57 
QuestionWhats error in the bold line Pin
KhandelwalA23-Jun-09 21:22
KhandelwalA23-Jun-09 21:22 
AnswerRe: Whats error in the bold line Pin
Abhijit Jana23-Jun-09 21:30
professionalAbhijit Jana23-Jun-09 21:30 
GeneralRe: Whats error in the bold line Pin
KhandelwalA23-Jun-09 21:41
KhandelwalA23-Jun-09 21:41 
AnswerRe: Whats error in the bold line Pin
Amol-11123-Jun-09 21:34
Amol-11123-Jun-09 21:34 

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.