7
Answers

How to create pop for when click textbox asp.net c#?

Raja

Raja

8y
292
1
I have bind the data table in repeater inside the repeater many textbox is available
now i want to show the text box value to pop up window 
ex:
c sharp corner forums
 in the above value is want to shown in text box because many textbox have more then values than text box length so it is hided. i give the multi line textbox also but if the multiline textbox  is expanded design is affected. so i want to display the value to pop up window.
How to do it?
 
I tried: below script
<link rel="stylesheet" href="//code.jquery.com/ui/1.11.1/themes/smoothness/jquery-ui.css">
<script src="//code.jquery.com/jquery-1.10.2.js"></script>
<script src="//code.jquery.com/ui/1.11.1/jquery-ui.js"></script>
 
But the script is shows only first textbox value another text box value is not shown when click the other textboxes 
Answers (7)
1
Chetan Ranpariya

Chetan Ranpariya

NA 1.6k 234 8y
Raja,
 
Did you find any solution for your issue?
 
Please post the the solution here so people get benefited from it.
 
Thanks and regards,
Chetan Ranpariya 
0
Raja

Raja

NA 1.7k 45.2k 8y
Hi
 
Chetan Ranpariya
still now i am not find any solutions for this issue :( :(
0
Bikesh Srivastava

Bikesh Srivastava

NA 19.8k 835k 8y
use like this jquery code toopen popup.
  1. $("#target").click(function() {  
  2.      alert("Handler for .click() called.");  
  3. });  
 HTML:
  1. <asp:textbox onclick="myJavaScriptFunction()" runat="server" id="myTextBox" ... >  
 
0
Raja

Raja

NA 1.7k 45.2k 8y
yes

Chetan Ranpariya

0
Chetan Ranpariya

Chetan Ranpariya

NA 1.6k 234 8y
So, only adding these scripts in the page makes popup apear when you click on text box?
No event handler in script required? 
0
Raja

Raja

NA 1.7k 45.2k 8y
i use only below script
 
 
<link rel="stylesheet" href="//code.jquery.com/ui/1.11.1/themes/smoothness/jquery-ui.css">
<script src="//code.jquery.com/jquery-1.10.2.js"></script>
<script src="//code.jquery.com/ui/1.11.1/jquery-ui.js"></script> 
0
Chetan Ranpariya

Chetan Ranpariya

NA 1.6k 234 8y
What code you have written for showing popup?