15,911,786 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 Python 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 JanardhanSharma (Top 22 by date)
JanardhanSharma
3-Apr-17 8:39am
View
I've tried but wasn't able to see the change. Same issue has occured.
JanardhanSharma
31-Dec-16 0:52am
View
It's working fyn. Thanks a lot.
JanardhanSharma
10-Aug-16 5:00am
View
but it's working for asp.net as well. by default it's allowing the pdf to be opened in adobe reader but in a while it's also getting opened in OneNote.. once it's displaying in OneNote then the pdf file getting closed.. this is all happening in seconds. i dont understand this abnormal behaviour.
JanardhanSharma
9-Aug-16 2:00am
View
Here is my code, I wasn't able to find why the $find("ReportViewer1") going null though if the control id is same "ReportViewer1". When if im using $get it's working fine. But that doesnt contain get_isLoading property.
i've tried the code from the following link
https://blogs.msdn.microsoft.com/selvar/2011/04/09/invoking-the-print-dialog-for-report-viewer-2010-control-using-the-javascript-api/
<pre lang="HTML">
<form id="form" runat="server" style="width: 100%; height: 100%;">
<asp:ScriptManager ID="ScriptManager1" runat="server">
<asp:Button ID="btnBack" class="classname" runat="server" Text="Back" OnClick="btnBack_Click" />
<asp:Button ID="btnClose" PostBackUrl="ReportsNewMain.aspx" class="classname" runat="server"
Text="Close" />
<rsweb:ReportViewer ID="ReportViewer1" runat="server" InteractivityPostBackMode="alwayssynchronous"
ProcessingMode="Remote" PromptAreaCollapsed="True" Width="100%" Height="515px"
DocumentMapWidth="100%" Font-Names="Verdana" Font-Size="8pt">
<serverreport reportserverurl="">
<div align="center">
<asp:Panel ID="PanelButtons" runat="server" Width="527px" BorderColor="#999999">
<asp:Button ID="btnPrint" runat="server" Text="Print"
OnClientClick="PrintReport()" />
</div>
</form>
<script language="javascript" type="text/javascript">
function PrintReport() {
try {
//var viewerReference = $find("<%= ReportViewer1.ClientID %>");
var viewerReference = $find("ReportViewer1");
//var viewerReference = $get("ReportViewer1");
var stillonLoadState = viewerReference.get_isLoading();
if (!stillonLoadState) {
var reportArea = viewerReference.get_reportAreaContentType();
if (reportArea == Microsoft.Reporting.WebFormsClient.ReportAreaContent.ReportPage) {
$find("ReportViewer1").invokePrintDialog();
}
}
}
catch (err) {
document.getElementById("demo").innerHTML = err.message;
}
}
</script>
</pre>
JanardhanSharma
4-Jul-16 1:27am
View
Nope, It's refreshing only the label Control
JanardhanSharma
27-Jun-16 8:11am
View
The methods in the below page resolved the issue.
https://msdn.microsoft.com/en-us/library/system.net.ipaddress(v=vs.110).aspx
Thank you
JanardhanSharma
13-Apr-16 0:48am
View
can we do lyk this also? anyhow thanq.. it's working now..
and may i knw whether using
<trust level="Full" />
under system.web in web.config
is this a good practice?
JanardhanSharma
12-Apr-16 3:14am
View
the following procedure resolved the issue
http://www.aspsnippets.com/Articles/ASPNet-iTextSharp-SystemSecuritySecurityException-That-assembly-does-not-allow-partially-trusted-callers.aspx
JanardhanSharma
11-Apr-16 6:13am
View
Im sorry.. I found the status code of the error.. it's not 404 rather it's 500 saying internal server error. I used custom error pages..
JanardhanSharma
4-Mar-16 2:51am
View
Static textBoxes..
I already implemented.. thank you
pdfDoc.Add(new Phrase("\r\nStart Date : " + this.dateMinFilter.Text.Trim()));
pdfDoc.Add(new Phrase("\r\nEnd Date : " + this.dateMaxFilter.Text.Trim()+"\r\n"));
htmlparser.Parse(sr);
JanardhanSharma
16-Feb-16 9:10am
View
Just now i tried.. The following path resolved the issue
http://localhost/Online/img/bank_logo.PNG
Than q
JanardhanSharma
16-Feb-16 9:02am
View
Thanq, I tried by making ImageUrl="\img\bank_logo.PNG" But still it's giving an error as below
Could not find a part of the path 'c:\img\bank_logo.PNG'.
JanardhanSharma
16-Feb-16 8:04am
View
Deleted
I found the issue..
<asp:Image ID="Image1" ImageUrl="http://localhost:55374/img/bank_logo.png" runat="server">
that control is causing an issue.. during
htmlparser.Parse(sr);
May i know How can i resolve it?
JanardhanSharma
10-Feb-16 23:54pm
View
by default it's returning only length of 1character
Declaring the size in frontend resolved the probe..
UID.Size = 100;
Thanq
JanardhanSharma
30-Dec-15 7:54am
View
I'm sorry i din't read ur que properly.. U can delete the solution..
JanardhanSharma
23-Dec-15 0:04am
View
Asp.net Webform and in our application only one page can be open at a time. so here the issue is there are two buttons in one page (let's say "X") when user clicks on one of the button status is going to get update(i.e "UnderTransaction") in DB for one column. To complete the entire transaction process user also has to click one more button.. in that 2nd button onclick event status again will be updated like "TransactionCompleted".But Some times user is exiting from the page without clicking on 2nd button(rather clicking on someother page).. and transaction remains "Undertransaction".
JanardhanSharma
3-Dec-15 2:50am
View
Yes i debugged the solution.. Autopostback is already set to true.. If i set Autopostback to False then Event wont fire.. I tried and is not firing when it's false. Now i provided some more info.. plz look in to that.
JanardhanSharma
1-Dec-15 3:52am
View
Oops! I misplaced the brace and din't even notice it..
JanardhanSharma
16-Oct-15 0:49am
View
Nope.. I got the answer in earlier comment.. My doubt is when im not known abt the webform1 and all i knw is webform2 where we are accessing the values but not abt the webform1 from where we are passing values.. Anyhow, thank you..
JanardhanSharma
9-Sep-15 9:45am
View
Yes, both the columns are in same dataset. And these Two columns Belongs to same table. Group and SubGroup are Column names
JanardhanSharma
17-Aug-15 9:19am
View
Than q
JanardhanSharma
5-May-15 13:00pm
View
Thank you
Show More