15,895,084 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 Nachiket G (Top 10 by date)
Nachiket G
14-Jun-18 6:00am
View
Come on guys! Could you not read the part on above comment where I have mentioned of "ending up with almost the same solution"! Yeah I agree that I am suggesting alomost same solution, but if I had to copy I would have used it as is. If you are an experienced professional, in the world of coding two or more people may have same way of thinking and/or writing the code. I would do Nothing but ignore further comments on this issue.
Nachiket G
11-Jun-18 11:44am
View
Sure, will remember it for next time. Thanks.
Nachiket G
11-Jun-18 11:34am
View
Haha. Didn't realize its that old.
Just appeared in Quick Answers > View All Questions, so I answered. Nevermind. :)
Nachiket G
11-Jun-18 9:43am
View
Yeah, when I started writing my aswer I found myself ending up with almost the same solution. I though why not use good work already done by you. So helped in creating a separate function. I am also voting you the same now. :)
Nachiket G
14-Jan-14 6:24am
View
Hi charan_kumar,
We chose to have a nice solution on this.
We bought an attractive theme that is built on HTML5, JavaScript, JQuery and CSS/CSS3 and we have used code that exists in its body and head section in the aspx pages. Added ASP.NET controls wherever we need on the pages, code its events accordingly. It first worked with some mess, but we are correcting issues one by one.
Hence, this seems to be working for us during development mode. Let us see what happens while project will be released.
I appreciate kind response from you.
Nachiket G
16-Dec-13 13:49pm
View
My Site is going to be a online portal to sale the products of my customer...
Nachiket G
28-Sep-12 5:50am
View
I do not understand Chinese Or Japenese mate. Thanks.
Nachiket G
3-Aug-12 8:40am
View
I appreciate your answer Amit.
I am not able to limit the number of columns because I am trying to provide some special filtering facility for user.
- I need user to be able to apply filter on the fields which are not being displayed.
I will soon try the solutions (two links) given by you.
Thanks.
G Nachiket
Nachiket G
3-Dec-11 3:03am
View
Sometimes it shows following error as well.
"Microsoft JScript runtime error: Unable to get value of the property 'style': object is null or undefined"
Nachiket G
3-Dec-11 2:36am
View
Well about this I am running a logic to raise a popup window with dimmed background.
I have written a C#.NET function for this as follows :
public static void ShowModalPopup(string strModalPopupDivElementName, string strMaskedDivElementName)
{
HttpContext context = HttpContext.Current;
Page page = (Page)context.Handler;
//document.getElementById ('" + strMaskedDivElementName + @"').style.display='';
string strJScript;
if (false == String.IsNullOrEmpty(strMaskedDivElementName) && false == String.IsNullOrEmpty(strModalPopupDivElementName))
{
strJScript = @"
document.getElementById ('" + strModalPopupDivElementName + @"').style.visibility='visible';
document.getElementById ('" + strModalPopupDivElementName + @"').style.display='';
document.getElementById ('" + strMaskedDivElementName + @"').style.display='';
document.getElementById ('" + strMaskedDivElementName + @"').style.visibility='visible';
document.getElementById ('" + strMaskedDivElementName + @"').style.top='0px';
document.getElementById ('" + strMaskedDivElementName + @"').style.left='0px';
document.getElementById ('" + strMaskedDivElementName + @"').style.width= document.documentElement.clientWidth + 'px';
document.getElementById ('" + strMaskedDivElementName + @"').style.height= document.documentElement.clientHeight+ 'px';";
strJScript = String.Format(strJScript);
ScriptManager.RegisterStartupScript(page,
typeof(Page),
"Redirect",
strJScript,
true);
}
}
This gets executed without error, but once The page starts running I get the error message which I have posted in my question.
I am also wondering what kind of AJAX control I am using in this portion.
In above code I am adding few run time javascript code using C#.NET and its just pops up two div s and shows then as a popup..
Show More