16,012,468 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Member 8390746 (Top 30 by date)
Member 8390746
11-Oct-13 2:34am
View
I try it but the report viewer shows only one report
Member 8390746
16-Aug-13 1:14am
View
This is my code. I am already using the clientid of button
txtBox.Attributes.Add("Ondblclick", "return clickButton(event, '" + btnSearch.ClientID + "')");
<script type="text/javascript">
function clickButton(event, buttonid) {
debugger;
var bt = document.getElementById(buttonid);
if (bt) {
bt.click();
}
}
Member 8390746
14-Aug-13 7:44am
View
<asp:Button runat="server" ID="btnSearch" Style="display: none" OnClick="btnSearchClick" />
protected void btnSearchClick(object sender, EventArgs e)
{
BindDataToListView(txtBox.Text);
if (txtBox.Text == "")
{
ValueField = 0;
}
txtBox.Focus();
}
Member 8390746
14-Aug-13 7:19am
View
I am also using the below script for textbox Keyup. Its working perfect
var to;
var prm = Sys.WebForms.PageRequestManager.getInstance(); // Page Request Manager object
function onTxtKeyUp(e, buttonid) {
// debugger;
if (e.KeyCode != 9)
to = setTimeout(function () {
performSearch(buttonid);
}, 300)
}
function onTxtKeyDown() {
if (to) clearTimeout(to);
}
function performSearch(buttonid) {
if (prm.get_isInAsyncPostBack) {
prm.abortPostBack();
}
__doPostBack(buttonid, "");
}
Member 8390746
14-Aug-13 7:14am
View
Yes I wrote a function in button click event,and I mentioned above the usercontrol is working perfectly in a sample project ,contains a default page and the user control, that i created to check the usercontrol, all script functions are running perfectly.Now I add this usercontrol in to main project then only the problems occurs.
Member 8390746
14-Aug-13 1:33am
View
there is no StaticID
Member 8390746
14-Aug-13 1:32am
View
The value of buttonid is "ctl00_ContentPlaceHolder1_txtLOV3_btnSearch"
But It is not firing the click event of btnSearch".When I am adding my usercontrol txtLOV in to a sample project its working. Now I am try to use this user control in my main project that contains a master page and inherits from custom Base Class.
Member 8390746
9-Aug-13 5:07am
View
When I doubleclick on textbox and the list is showing, now I dont want to select any item and I clicked anywhere in the page, I want to set the listbox.visible=false
Member 8390746
9-Aug-13 4:28am
View
A textbox and listbox. when doubleclick on textbox listboxs items are showing under the text box and if I select one item from the list box listbox visible property is set to false.
Member 8390746
8-Aug-13 7:25am
View
Thanks Its working..
Member 8390746
7-Aug-13 8:03am
View
My user control name is txtLOV and in debugg
var x =document.getElementById("<%= Button1.ClientID %>"); looks like
var x = document.getElementById("'txtLOV2_Button1'");
and x is null
Member 8390746
7-Aug-13 1:55am
View
It also return null
Member 8390746
7-Aug-13 1:07am
View
I am using this script on a user control and when I am adding this user control in to my page then problem occurs. document.getElementById("<%= Button1.ClientID %>"); returns null because there is no button, Button1, in my page.
Member 8390746
6-Aug-13 5:09am
View
protected void HandleAjaxCall() is btnSearch.Click Event . It is a code behind method
Iam created a user control called txtLOV
My control contains a textbox and listbox .When I typing some text in the textbox the listbox is filtered and visible property is set to true and user can selct one of the item from listbox. Its working properly. Now I am using this txtLOV in pages.I am adding many txtLOVs in my page. when I am typing a text in txtLOV1s textbox I want to show the listbox of txtLOV1, but now all txtLOVs listbox visible properties are set to true.
Member 8390746
3-Aug-13 7:55am
View
I dont want an auto complete text box.I need the selected items id and text for further coding.
Member 8390746
3-Aug-13 7:43am
View
I dont want an auto complete text box.I need the selected items id and text for further coding.
Member 8390746
22-May-12 5:34am
View
Yes module
Member 8390746
27-Feb-12 5:47am
View
Thanks for Your Solution.
Iam using a view to fill the crystalreport. Is any solution with view ?
Member 8390746
21-Jan-12 0:36am
View
ToWords is a builtin function
Member 8390746
2-Jan-12 4:05am
View
How can i save the generatd barcode in to sql server 2005
Member 8390746
27-Dec-11 3:15am
View
sorry
Member 8390746
27-Dec-11 3:12am
View
Sorry ....... Thank u for ur Advice
Member 8390746
21-Dec-11 1:56am
View
I dont want to generate PDF file .In the button click I want to export the crystal report into pdf and open that pdf.
Member 8390746
20-Dec-11 7:05am
View
This is working. But I dont want to save the pdf .I want to open it as a new pdf file.Is it working?
Member 8390746
20-Dec-11 6:50am
View
When you run this program you will get the PDF file (crystalExport.pdf) in your computer's C: Next time When i run this program it will overwrite.Is any solution for this?
Member 8390746
16-Dec-11 1:39am
View
Yes i done it. Its working thanks
Member 8390746
14-Dec-11 4:40am
View
Iam using crystal report with vb.net.SO There is an error with Server.MapPath
Member 8390746
14-Dec-11 3:12am
View
Iam using crystal report with vb.net. There is an error with Server.MapPath
Member 8390746
13-Dec-11 6:03am
View
Thanks For Helping Me. But I dont Want to save the pdf .I want to Open a new pdf file
if i am using CrDiskFileDestinationOptions.DiskFileName = "c:\\csharp.net-informations.pdf";
this code the exported pdf file always saved on the same location .I want to save it Manualy
Member 8390746
13-Dec-11 3:02am
View
I also want to add new rows to the datagrid and edit the existing rows and then save back to the database.If i am using the datasource property ,it is possible to add new row delete rows etc.
Show More