15,896,444 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 TheCoolCoder (Top 36 by date)
TheCoolCoder
5-Nov-12 0:46am
View
I thought so as you added a comment to the question and not reply, but wasnt sure if you disagreed with the whole idea..:-)..thanks..
TheCoolCoder
5-Nov-12 0:25am
View
Well there should be some reason or tons of reasons..That is all anyone can say unless you use the improve question link to update your question with scenario information and relevantcode snippets.
TheCoolCoder
5-Nov-12 0:19am
View
@SA : I dont completely understand your comment, what i pointed out was wrong? or is something else?? or is it directed at OP?
TheCoolCoder
5-Nov-12 0:04am
View
using COM Interop in a server environment is not supported by Microsoft. Also there are licensing issues related to using Office.Interop in a client-server environment. Refer
this discussion
.
The KB article
Considerations for server-side Automation of Office
does indeed say that you are licensed for server-side automation of Office products for use only if the clients are all licensed.
Just in case you are not aware of these.
If you want reliable/approved behaviour for your code
Open XML SDK for Microsoft Office
is the way to go with asp.net though only Office 2007 and later document formats are supported.
TheCoolCoder
26-Oct-12 0:09am
View
Take a look at the the updated solution.
TheCoolCoder
24-Oct-12 22:43pm
View
I am not able to view your page, as it is blocked by firewall in my system.. why are you deleting textbox text in keyup event?
TheCoolCoder
22-Oct-12 6:24am
View
Paste a relevant portion of your code using improve question.
TheCoolCoder
18-Oct-12 2:18am
View
did you try using like cell.Phrase= new Phrase(column.ColumnName.ToString(), font10w); instead of cell.AddElement(new Chunk(column.ColumnName.ToString(), font10w));?? Also did you change cell.HorizontalAlignment = iTextSharp.text.Element.ALIGN_MIDDLE; to cell.HorizontalAlignment = Element.ALIGN_CENTER;. None can help you if you dont describe what exactly is that you want, what kind of alignment is that you are expecting??.
TheCoolCoder
18-Oct-12 0:27am
View
window.location.href = "Pagename.aspx"; where do u call this script?? inside iframe window or on the main page?? anyways this wont close your iframe, it will only load the current browser window with 'Pagename.aspx', also if your requirement is to cause the iframe to disappear on a button click, just hide it and if you dont want any server side functioning for your close button, try replacing your close button with a html button <input id="btnClose" type="button" value="button" /> so that it wont postback by default.
TheCoolCoder
17-Oct-12 23:26pm
View
Good that you were able to solve your problem, but i dont understand how anybody in code-project could have provided an answer. All you provided was a little code which was irrelevant in case of the problem you were facing..
TheCoolCoder
17-Oct-12 3:45am
View
Please specify code for font10w,pdfTable.. Use Improve question.
TheCoolCoder
17-Oct-12 3:40am
View
Check the updated solution there is a sample path added.
TheCoolCoder
17-Oct-12 2:59am
View
Please paste your pdf saving function here, let me have a look at it...
TheCoolCoder
16-Oct-12 7:39am
View
I think what he is trying to say is he inserts '<name>' into the database from a textbox in a form and while viewing the data the textbox doesnt display '<name>'. This is most probably an issue with htmlencoding but dont want to keep guessing anymore :D, this is about the limit...
TheCoolCoder
16-Oct-12 7:32am
View
Take a look at the updated solution, Note sure if it helps though...
TheCoolCoder
16-Oct-12 4:59am
View
Are you using the qtips jquery plugin which can be found
here
?? Also please provide your source code for treeview binding, also i dont see any calls to js functions 'showToolTip', 'AddAttributes' etc. Do u have any codebehind lines that call them?? If you are pasting the source code here please do it selectively.
TheCoolCoder
16-Oct-12 4:20am
View
Is the button inside the update panel in master page?? I suggest to paste the relevant master page markup here, it is also something you can try, keep only the button inside the panel, remove everything else and try if it works.
TheCoolCoder
16-Oct-12 2:31am
View
his problem was indeed what you both thought $('#abc') he was using wasnt valid..
TheCoolCoder
16-Oct-12 2:11am
View
I have seen some cases involving background images where the browser wouldnt load the images specified in css class initially unless some element in the page already uses the class.So when we change css class of element via script the browser wont be able to load that image all of a sudden. so try adding a dummy element of same type(as $(this).parent().parent().parent()) with css class 'abc' to page and keep it hidden. Suppose if the element to which you are adding class 'abc' is a div try keeping a dummy div <div id='divDummy' class='abc' style='display:none;'> </div> in your page, it could help. Let me know if this works.
TheCoolCoder
16-Oct-12 2:05am
View
Your question ("OUT" value is having state only in SelectedIndexChanged event then how can i access the value out side of the block) answers itself , you have to maintain the out parameter's state manually. A simple public property of a usercontrol doesnt maintain its state across postbacks unless you make it do so. One method to maintain a property's state is what i have specified ofcourse at the expense of increased load to page by adding a viewstate variable. There are other workarounds like using a hiddenfield or implement LoadViewState, TrackViewState and SaveViewState for the control.Refer
this
TheCoolCoder
15-Oct-12 23:35pm
View
yeah 5
TheCoolCoder
12-Oct-12 6:33am
View
Please clarify what exactly you need to do "columns must be automatically generate in grid view with respect to the no of days of selected month and year" : not able understand your requirement.
TheCoolCoder
12-Oct-12 5:20am
View
Deleted
No he is doing it fine he doesnt need to replace "=" with '#'.His code should work in all browsers except safari where triggering .click() function doesnt work. Also setting clientidmode is only available from framework 4(or 3.5 not sure) onwards.
TheCoolCoder
10-Oct-12 7:26am
View
CustomAttribute class is missing in the code. Anyway one thing you have done wrong clearly is nesting of tables, nested tables always increases the load and should be only be used when absolutely necessary.
TheCoolCoder
10-Oct-12 6:12am
View
Was abt to post this and thought about refreshing :-)..
TheCoolCoder
10-Oct-12 5:11am
View
See if you are talking about a refresh just after a button click normally if you hit f5 or refresh from browser you will be prompted 'if you want to resubmit data to server', if you click yes then the previous button click will be re-done, in that case your code label2.visible=true will execute again and the label will be shown, which is the way it is supposed to work. I dont know if the refresh behaviour can be altered, sorry.
TheCoolCoder
10-Oct-12 5:00am
View
AFAIK Service Library project will be compiled to create a dll file which could be used in other applications which can have their own Global.asax files. So i think there is no case of a global.asax file with application settings and events inside a service library and that is the reason you cant add a Global.asax file to it. Regarding ASP.Net Web Application I am having no issues in adding a new Global.asax once the default one is deleted. Maybe its something else you do thats causing the problem or its something to do with your VS2010 installation.
TheCoolCoder
10-Oct-12 4:32am
View
What exactly is ur ProjectType: WCF Service Library or WCF Service Application
TheCoolCoder
10-Oct-12 3:58am
View
was that what you were looking for ?? did it help??
TheCoolCoder
10-Oct-12 2:23am
View
Yeah this is what i thought too, but wasnt sure if this is what he is asking for. Include Response.Redirect(URL) too,just a suggestion, it might help him..
TheCoolCoder
10-Oct-12 2:11am
View
May be you can add all the required columns at once during Page_Init itself and alter the visibility later in the different button click events like: grdProductFields.Columns[3].Visible = false;
TheCoolCoder
10-Oct-12 1:59am
View
Please keep in mind that the javascript function will continue executing and posting back to sever even after the counter has stopped working.Also the scope of the static variable is application wide so if there's a scenario involving multiple users this could create problems. I just wrote this as a quick solution. You certainly can find workarounds to these problems if you are intersted, then main part is partial updates to page with two update panels. If you have any doubts feel free to ask..
TheCoolCoder
10-Oct-12 1:10am
View
Please provide some code regarding exactly what you are trying to achieve. Are you asking if you can use a hyperlink and get the user IP in the server side code??
TheCoolCoder
8-Oct-12 8:56am
View
This is the Footer.ascx user control. Where have you used this together with the master page?? may be u can edit your original question with html for Footer.ascx, three.Master and html of the Page where both are used together.
TheCoolCoder
8-Oct-12 8:26am
View
You cannot add nopCommerce inside asp:ContentPlaceHolder in a master page. Move it to outside the placeholder.The placeHolder is for webcontent forms that use the master page to place html.
TheCoolCoder
8-Oct-12 8:18am
View
can you post the html of the page with footer and three.master here?
Show More