16,003,462 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 Medo-I (Top 19 by date)
Medo-I
14-Nov-13 2:56am
View
sorry i dont undrestand your question? and what is missing?
Medo-I
13-Nov-13 18:21pm
View
hello
i created two css files, one for Chrome and the other for IE, as following:
<link rel="stylesheet" type="text/css" href="css/styleChrome.css" />
<link rel="stylesheet" type="text/css" href="css/styleIE.css" />
<% HttpBrowserCapabilities browser = Request.Browser; %>
<% if (browser.Browser == "AppleMAC-Safari") { %>
<link rel="stylesheet" type="text/css" href="css/styleChrome.css" media="screen" />
<% } else { %>
<link rel="stylesheet" type="text/css" href="css/styleIE.css" media="screen" />
<% } %>
it is working fine in my local server, but when i uploaded it to server it is not working fine, it doesn't use the chrome css when i use chrome browser, and as i told you it is working fine in the local host for both browsers, it is use both css files depends on which browser i use.
do you have any idea why that happen
thanks
Medo-I
25-Oct-13 18:32pm
View
i mean the alignment of the text of the header in the center, but in IE not in the center, and if i change the Left property in the css to make the header's text alignment in the center, that make the alignment not in the center in the Chrome, so if it is center in Chrome it will be not in the center in IE, and if it is Center in IE it will be not in the Center in Chrome
Medo-I
27-Mar-13 4:03am
View
this is really good advice, i tried it in my client side and i saw my connection string, i thing i have to encrypt the connection string.
Thank you
Medo-I
26-Mar-13 14:14pm
View
yes iam passing the connection string to the client side, into the activex code, how the user will see the connection string although it is passing inside the code, unfortunately i don't have background in security especially against hackers, anyway this application using inside intranet and not for internet use, also the activex code converted to setup file and installed in every client pc to run the web page that contains the activex.
i think i really need to read a lot in this subject, thanks a lot.
Medo-I
14-Mar-13 4:28am
View
thank you
Medo-I
17-Feb-13 15:27pm
View
hello
this is my gridview, it is already has OnRowCommand event:
<asp:GridView ID="grdAppuser" runat="server" CssClass="datatable" SelectedIndex="0"
AutoGenerateColumns="False" AllowSorting="True" AllowPaging="True" CellPadding="0"
BorderWidth="0px" GridLines="None" DataKeyNames="VisID" ShowFooter="True" OnPageIndexChanging="grdAppuser_PageIndexChanging"
OnSorting="grdAppuser_Sorting" OnRowCreated="grdAppuser_RowCreated" OnRowDataBound="grdAppuser_RowDataBound"
OnSelectedIndexChanged="grdAppuser_SelectedIndexChanged" OnRowCommand="grdAppuser_RowCommand"
OnPreRender="grdAppuser_PreRender" Width="800px" PageSize="30">
any way, i deleted the two lines you mentioned in your answer, and when i press on the imagebutton the RowCommand even did not run.
thank you
Medo-I
17-Feb-13 0:21am
View
i am not sure, i found the hole lines of code in this block in the internet, i tried to delete it, the event protected void grdAppuser_RowCommand(object sender, GridViewCommandEventArgs e) stop running
Medo-I
16-Oct-12 7:20am
View
two last question :
how i can pass the bool valuein 'shouldConfirm' from C# to the jQuery function in this line:
shouldConfirm = GetMyCondition();
how i can pass the result of bool value from that function to the bool variable in the c# again
thank you
Medo-I
16-Oct-12 7:06am
View
sorry i did not try the jQuery before
where should i add this jQuery code
$("#ID_OF_BUTTON").click(function() {
shouldConfirm = GetMyCondition();
if (shouldConfirm)
ShowConfirmBox();
});
*how i can run it in C# to get 'shouldConfirm' value to the jQuery code?
*also how i will run the code of yes or no option in that code?
do you think that difficult to do because i did not try jQuery before?
Medo-I
16-Oct-12 6:42am
View
sorry i was not clear in my first post.
as i told you i have button, when i press the button it should check the bool value before display the Confirm Box, if i use OnClientClick event in my button it will display the Confirm Box without any check.
so the steps must be like this :
1- press on button
2- check bool value
3- if bool value equal yes: display message box with yes and no option, yes do something and no do something else
4- if bool value equal no : the code run something else
thank you
Medo-I
16-Oct-12 6:27am
View
sorry my reply was not clear.
when i press the button, i should check bool value, if it is true then the confirm box should display, else the code run something else.
in the message box yes will do something and no will do something else
Medo-I
16-Oct-12 5:57am
View
bool value behinde the code
if (isConfirm)
// the Confirmation box should trigger here
other wise should not trigger
Medo-I
16-Oct-12 5:47am
View
how could i run this js code var ans = confirm ('Record already exist.Do you want to proceed?'); without press button?
because as i know if i want the previous code run i have to use OnClientClick event in the button to run it.
thank you
Medo-I
9-Sep-12 17:14pm
View
thanks a lot for your help
Medo-I
9-Sep-12 17:13pm
View
thanks a lot for you help
Medo-I
17-Dec-11 3:44am
View
In my Image column in my database, i am using Image Tata Type.
Thank you
Medo-I
11-Oct-11 2:52am
View
Is there any example for that? i am still beginner and not familiar with some terms.
Thanks a lot.
Medo-I
15-May-11 9:06am
View
Dear John, first of all i would like to thank you for your reply, you cant imagine how you save big time for me and how you take me out from big problem.
i really appreciated your help and your valuable informations that you provided to me.
now and after i saw my source code using Reflector i think i need few hours to change and make everything work good.
thank you again.
Show More