15,901,122 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 sri senthil kumar (Top 121 by date)
sri senthil kumar
6-Feb-14 1:45am
View
You have mentioned a class in the below line what you are doing with this?
<tr class="<%# DataBinder.Eval(Container.DataItem, "Viewed") == "false" ? "highlight" : string.Empty %>">
sri senthil kumar
5-Feb-14 7:38am
View
<tr class="<%# DataBinder.Eval(Container.DataItem, "Viewed") == "false" ? "highlight" : string.Empty %>">
highlight class u have added in the above tr
sri senthil kumar
5-Feb-14 5:55am
View
Chk this i have mentioned diff way of calling method using ajax, use the PageMethod type which comes handy with asp.net
http://witstuner.blogspot.in/2013/02/different-ways-of-ajax-call-in-asp.html
If u still not clear post give me u r mail id. Will send u a sample of async call.
sri senthil kumar
5-Feb-14 5:09am
View
can u post the style how u have written? also have you checked whether the highlight class is added to tr?
sri senthil kumar
5-Feb-14 5:01am
View
Then don't do anything on page load...
Try to split the calls to speedup, like, if u r fetching from 20 different sites do 10 or 5 per each call.
Get the data in client side and bind. You know about Web methods?
sri senthil kumar
5-Feb-14 4:37am
View
hope u can handle this in window.unload (javascript) event... please try. It gives you option to handle the browser back button too.
sri senthil kumar
5-Feb-14 4:34am
View
Can you please post the image path your getting?
sri senthil kumar
5-Feb-14 4:31am
View
one suggestion would be, add a new column to the "datasource" your binding to the repeater saying "isNew" and append values like new/old.
Append this column to the tr's class=<> ... done in css write style for it. hope it helps
sri senthil kumar
5-Feb-14 4:22am
View
As Mo said doing in asynchronous way will help you. Is this page is only for showing feeds? if not, if it is a part of it. Then put a page method to get the XML/Json data from that and bind the value in client side.
sri senthil kumar
20-Aug-13 3:53am
View
As kishore sharma u can use timer control, but even that will create some js in background. Once page is rendered again if we want to intiate a server method, we need some trigger from client side I hope.
sri senthil kumar
20-Aug-13 3:21am
View
Are you speaking about javaScript to run on asp.net? if so simple "setTimeout()" will do.
sri senthil kumar
23-May-13 3:08am
View
Just empty the innerHTML of that div and again load new content.
sri senthil kumar
17-May-13 10:57am
View
Can you post the code how your loading this onchange event in code behind?
sri senthil kumar
17-May-13 1:16am
View
what sort of input characters you gave and tested? because for varchar it should accept any character type. Sometimes error may happen when you give quoted value in that case you have to add a escape character or encode them before taking them to the DB.
sri senthil kumar
14-May-13 8:29am
View
This browser compatibility issues happens. You need to debug using Developer tool for IE. Check whether any extra padding/margin are being set.
sri senthil kumar
8-May-13 9:18am
View
Are you adding Onchange event dynamically?
sri senthil kumar
8-May-13 9:07am
View
What Shubhashish_Mandal has suggested is an nice idea try them... There is an alternate option where you can call a server side method in async manner with jquery...
sri senthil kumar
8-May-13 9:03am
View
Is that pages are used in IFrame?
sri senthil kumar
8-May-13 8:53am
View
Manish,
Check the code once it is rendered. Hope, if you have used Eval and when you are binding values async then it can occur.
sri senthil kumar
8-May-13 8:44am
View
you need some layout control to use margin/padding... Can you post the code where you tried margin-left?
sri senthil kumar
8-May-13 8:40am
View
If you want to convert a string you have given into a pdf doc, Why dont you use PDFSharf/MigraDoc it will be much easier when you want to set the UI perfectly and load content/UI dynamically?
sri senthil kumar
6-May-13 8:42am
View
This link has complete details about WCF service.
http://wcftutorial.net/Home.aspx
sri senthil kumar
6-May-13 5:17am
View
Yes, single service can have multiple methods. so I hope there wont be any issue with that.
sri senthil kumar
6-May-13 4:29am
View
I hope there is an option like e.Cell.ToolTip try with that...
sri senthil kumar
6-May-13 1:50am
View
oh!!! k, you're welcome
sri senthil kumar
4-May-13 13:18pm
View
You want to show news ticker which automatically changing for a specific time period? If thats the case then I have given my solution below check whether it is working.
sri senthil kumar
4-May-13 13:03pm
View
Just customize the gridview control and load them into user control with datasource for gridview hard coded. Once that is working fine create some properties for user control and set it from page.This one of the article I made but this not the exact one. It gives you an idea on how to set datasource for repeater with user control property. http://www.codeproject.com/Tips/548924/Custom-Treeview
Check this and reply to my comment if you have any queries.
sri senthil kumar
3-May-13 8:37am
View
only for the C# is enough i hope because ur application is built on Php right? if so making C# code alone as web service is enough.
sri senthil kumar
3-May-13 8:12am
View
It can be, create a user control which has some properties for accepting datasource and other required values you want to pass like page's dropdown list etc., Load the gridview in that write the logics you want to perform. Thts all.
sri senthil kumar
3-May-13 8:07am
View
Am not sure about this, but i have an suggestion if they are kept as service then you can give a ajax call and get the response and again process them in php. May be it can help you.
sri senthil kumar
3-May-13 2:11am
View
Below links gives a basic technique to send email use that same technique and put it as Web method in aspx or you can use separate service and call them asynchronously.
http://csharpdotnetfreak.blogspot.com/2009/08/send-email-using-gmail-in-aspnet.html
http://witstuner.blogspot.in/2013/02/different-ways-of-ajax-call-in-asp.html
[use Reply option to post your reply, so that people who commented will get the notification] :)
sri senthil kumar
2-May-13 7:31am
View
If you know to send email using asp.net use the same, but put it as web method then call them asynchronously that’s all
sri senthil kumar
2-May-13 3:30am
View
check this link may it can help you,
http://www.heckdesigns.com/tutorials/tutorial-disabling-keyboard-keys-with-javascript/
sri senthil kumar
2-May-13 3:23am
View
There are methods to disable and enable which i have mentioned below use them and call them in appropriate place like when u click next disable the tab with current index and enable and select tab with currentindex +1. Like that u need to write some logics thts all it will work.
Function to enable:
$("#tabs").tabs("enable", tabIndex);
$("#tabs").tabs({
selected: tabIndex
});
Function to disable tabs
$("#tabs").tabs("disable", tabIndex);
you can get more of these methods from jquery site too.
sri senthil kumar
2-May-13 3:15am
View
What you have done is correct. Just place the "asp:ContentPlaceHolder" below the script tag in master page. Also make sure the path for script is correct, one of the best way to use is to write the url from root folder like "/Scripts/jquery-1.4.1.js".
sri senthil kumar
30-Apr-13 8:32am
View
If it is a asp button use onclientclick to return false. But Why you do so? If you dont want a postback then whats the need of button...
sri senthil kumar
30-Apr-13 8:26am
View
I haven't gone through your code but from your question what I understood is, you want to get the path where project is saved/deployed - for that below code will get you the path.
string folderName = Server.MapPath(".") + "\\" + "folder name";
Is this what you want?
sri senthil kumar
30-Apr-13 8:09am
View
Hope you need to process in c# itself before binding it to gridview or in store procedure you have to do while fetching from db... You want the code?
sri senthil kumar
30-Apr-13 6:14am
View
Can u post the code u have written for navigation to home page? May be we can help you.
sri senthil kumar
29-Apr-13 7:05am
View
Hope tild symbol works only for server side controls to mention root folder. If you want to use that sort of linking with html controls write the link starting with '/' then it will work.
sri senthil kumar
26-Apr-13 9:36am
View
Are you able to get the hiddenfield object in master page?
sri senthil kumar
26-Apr-13 9:25am
View
Always there will be compatibility issues with IE. If you could share your code we can give suggestions on what needs to be changed to fix'em
sri senthil kumar
26-Apr-13 9:22am
View
May be you can use a session variable...
sri senthil kumar
26-Apr-13 9:13am
View
Are u not able to get the value for the first load or in next postback? because in first load only after server side code finishes execution js will run so you wont be able to get.
sri senthil kumar
26-Apr-13 8:52am
View
You want only an icon instead of browse button? If so then put an icon and file uploder hide visiblity of the uploader using CSS and Icon click trigger the events of uploader event in javascript thts all.
sri senthil kumar
26-Apr-13 8:47am
View
Can't you do the validation in javascript itself instead of going to codebehind? May it will help you to come out of this.
sri senthil kumar
26-Apr-13 7:28am
View
This will happen since you have used "RegisterStartupScript". Have you used that code in button click?
sri senthil kumar
25-Apr-13 7:06am
View
This is pretty simple upload the video, create a unique id for each video and save them in that unique name itself. Then create a page which takes the video id as querystring. In page code behind write the logic to load the video with respect to the given id. You can use any players of your interest.
Is that making sense?
sri senthil kumar
25-Apr-13 6:54am
View
check whether you deployed everything properly(check all the files loaded), this error may occur when the jquery plugin is missing.
sri senthil kumar
25-Apr-13 2:04am
View
You can load with above method itself, if u have a wrapper div in aspx page.
sri senthil kumar
18-Apr-13 1:40am
View
I think we cannot have nested form but am not sure. If you move the html form out of asp form, i hope it will work...
sri senthil kumar
17-Apr-13 6:44am
View
oh!! I was trying with local files it worked. Will check and tell you
sri senthil kumar
17-Apr-13 4:54am
View
have you checked whether value ur copying from table to table getting stored in the access DB?
sri senthil kumar
17-Apr-13 4:45am
View
Try this code.
var ifrm = document.getElementById('iframe id').contentWindow.document;
alert("Url: " + ifrm.URL + ", \nEncoded url: " + ifrm.URLUnencoded + ".");
sri senthil kumar
17-Apr-13 2:47am
View
Your saying like in ur page you are loading the codeproject site in a iframe and you want the url in parent page whenever page is nvaigated inside iframe right?
sri senthil kumar
15-Apr-13 8:39am
View
Instead of image button you can do with simple <img /> itself. onclick of it call a javascript to increase the image size alone (just increase the width n height of tht img using setAttribute or directly using style attributes). hope it helps u.
sri senthil kumar
8-Apr-13 5:03am
View
One quick suggestion would be use of iframe. You can use iframe to load the page inside the tab and all the functions will takes place as you want...
sri senthil kumar
5-Apr-13 7:09am
View
You can do that using simple Jquery, but what are the validation criteria’s ?
sri senthil kumar
5-Apr-13 7:06am
View
you can try __dopostback from javascript
sri senthil kumar
4-Apr-13 8:39am
View
.ajax__combobox_itemlist li:hover - it is used to highlight on mouse over of an li item.
sri senthil kumar
4-Apr-13 8:23am
View
Check this url for basic page method call syntax
http://witstuner.blogspot.in/2013/02/different-ways-of-ajax-call-in-asp.html
Also post your code so that we could help you...
sri senthil kumar
4-Apr-13 6:28am
View
one suggestion would be if your doing anything with html control/tags then load those scripts in the ascx itself and put tht control as runat="server" and use control.ClientId. In your case it will be, assuming "dockPanelContent" div should be added with runat server attribute and load that script in the ascx.
sri senthil kumar
4-Apr-13 6:13am
View
whats the problem and what do u want?
sri senthil kumar
4-Apr-13 6:06am
View
sequential submission is like checking out product(shopping cart) where form submission goes step by step. each form, i mean, different forms so there will be separate submission for each form.
sri senthil kumar
4-Apr-13 6:05am
View
Deleted
sequential submission is like checking out product(shopping cart) where form submission goes step by step. each form, i mean, different forms so there will be separate submission for each form.
sri senthil kumar
4-Apr-13 4:06am
View
Read the file and write it to response object, will that solve your problem?
sri senthil kumar
4-Apr-13 4:03am
View
Whether you require like a wizard panel where form submission goes in sequential or each form submission is independent of each other?
sri senthil kumar
3-Apr-13 7:04am
View
If you have just an image in div and you want to export the same then simple anchor tag with href with that image url is enough. eg. <a href="img url">Export</a>
sri senthil kumar
3-Apr-13 6:48am
View
You can achieve this but do you have 2 iframes or one parent page and an iframe page?
if u have 2 iframes then you have to call a method in parent page > and from there again u can call a method in another iframe page.
Else if you have a parent page and an iframe page call is pretty simple jus iframe to parent and parent to iframe.
check this link for details on using parent-iframe(to-fro) accessing http://witstuner.blogspot.in/2013/03/accessing-parent-child-iframe-from-one.html
sri senthil kumar
3-Apr-13 5:22am
View
Deleted
Hope you require scroll for the div and not for the whole page is that the case?
sri senthil kumar
3-Apr-13 5:06am
View
Thats because page gets refreshed when you do with c# method. You can do the same with javascript too, try binding whole of object tag instead of the video url alone.
sri senthil kumar
28-Mar-13 3:08am
View
you want do only with css or can you use image to bring the fold effect?
Check the this url http://rzimindia.in/AboutUs.aspx you want page fold effect like this? here they have used an image...
sri senthil kumar
27-Mar-13 6:54am
View
you're welcome
sri senthil kumar
27-Mar-13 5:36am
View
check this url
http://msdn.microsoft.com/en-us/library/ie/gg699337(v=vs.85).aspx#debuggingdynamiccode
sri senthil kumar
27-Mar-13 5:35am
View
in the above code your master page may have, thats not the issue.. Then prob is mostly with css i hope...
sri senthil kumar
27-Mar-13 5:11am
View
I have used the "fieldset" part and css alone, it was working fine.
As sn67 said check with developer tools, check how the code is getting rendered, because if you have written any other css, it may override...
sri senthil kumar
27-Mar-13 4:53am
View
your code is working fine for me in IE8, firefox and chrome...
sri senthil kumar
27-Mar-13 4:41am
View
can you put text and checkbox in separate "td"s, if so check below url
http://jsfiddle.net/K8L9R/
Which browser your using?
sri senthil kumar
27-Mar-13 4:34am
View
You want space b/w check box and "Fax Search" Text ?
sri senthil kumar
27-Mar-13 4:22am
View
Apply the class to parent node of the element and check. We cannot judge webUI from design view, it wont display correct result always.
sri senthil kumar
25-Mar-13 3:46am
View
You want to show/hide login form onclick of a image? is thats all your requirment?
sri senthil kumar
21-Mar-13 6:46am
View
Can you post the code? So that we can help you. But a quick suggestion is try z-index property.
set z-index fo div to be higher than images css class.
sri senthil kumar
21-Mar-13 6:39am
View
Can you please post the html code?
If you have used the image with the div element after closing the div use this form tag or use the form tag inside the div. Then we can easily adjust whatever the way we want...
sri senthil kumar
19-Mar-13 7:24am
View
You can loop node by node and retrieve data. or simply you can use ReadXml() method with DataSet.
sri senthil kumar
18-Mar-13 8:21am
View
Link button will get render as html anchor tag. So if you mention attribute target="_blank", might work. Try whether it is working.
sri senthil kumar
18-Mar-13 1:44am
View
Above code can help you for sure, another alternative is to add runat='server' but the id will automatically generated.
sri senthil kumar
18-Mar-13 1:41am
View
Try this code
<asp:Button ID="Button1" runat="server" Text="Button" OnClientClick="return validate();" />
or if you want to bind the client event from codeBehind bind the below code you wrote in PageLoad method
Button1.Attributes.Add("onclick", "return validate()")
sri senthil kumar
16-Mar-13 4:22am
View
check this code whether it works... is this what you want?
<html>
<head></head>
<body>
<div id="player">
<object width="640" height="360">
<param name="movie" value="https://www.youtube.com/v/Zhawgd0REhA?version=3"></param>
<param name="allowFullScreen" value="true"></param>
<param name="allowScriptAccess" value="always"></param>
<embed src="https://www.youtube.com/v/Zhawgd0REhA?version=3" type="application/x-shockwave-flash" allowfullscreen="true" allowScriptAccess="always" width="640" height="360"></embed>
</object>
</div>
HTY dargon
despicable me 2
<script>
function changevideo(id)
{
var divObj = document.getElementById('player');
divObj.innerHTML = '<object width="640" height="360">'+
'<param name="movie" value="https://www.youtube.com/v/'+ id + '?version=3"></param>' +
'<param name="allowFullScreen" value="true"></param>'+
'<param name="allowScriptAccess" value="always"></param>'+
'<embed src="https://www.youtube.com/v/'+id+'?version=3" type="application/x-shockwave-flash" allowfullscreen="true" allowScriptAccess="always" width="640" height="360"></embed>'+
'</object>';
}
</script>
</body>
</html>
sri senthil kumar
15-Mar-13 9:30am
View
I mean, just to get started. I want to check how the player code looks and i need to run it once :). After tht i can customize whatever the way you require.
sri senthil kumar
15-Mar-13 8:22am
View
I havent used YTplayer. send me the url you got that. Will work on it and send you a solution ASAP.
sri senthil kumar
15-Mar-13 6:55am
View
Your checking two object i think thats the issue... What you want to compare and what control(div, textbox, hiddenfield etc.,) is that?
sri senthil kumar
15-Mar-13 5:57am
View
png image will static, try using gif image and if you want the way to display progress bar will post you the code.
sri senthil kumar
15-Mar-13 5:22am
View
You're welcome
sri senthil kumar
15-Mar-13 4:57am
View
can u post the code what you have written so far, so that we can help you?
sri senthil kumar
15-Mar-13 3:49am
View
have you used asp validators??
sri senthil kumar
15-Mar-13 2:51am
View
Increase the z-index for submenu class hope it will work
sri senthil kumar
15-Mar-13 1:12am
View
Hey you have already raised question on this right?
http://www.codeproject.com/Questions/561726/wantplustoplusaddplustooltipplusonplusdropdown?cmt=414283#cmt2_561726
I think that has been answered try those solutions... 3rd solution i gave there will be similar to your requirememt you just neet to put that script and pass Iframe ID then everything works fine.
sri senthil kumar
14-Mar-13 8:49am
View
You want the tool tip of each item in the drop down or tool tip for the drop down with selected item?
sri senthil kumar
14-Mar-13 8:17am
View
Do you have the file in folder? or Are you going to generate the pdf file dynamically?
sri senthil kumar
14-Mar-13 8:16am
View
Hey try googling you will get lot of predefined dropdown menus which are very simple to use.
sri senthil kumar
14-Mar-13 6:59am
View
No problem with bit of jquery you can add I hope, will post a simple solution once I work it out :)
sri senthil kumar
14-Mar-13 6:44am
View
Deleted
No problem with bit of jquery you can add I hope, will post a simple solution once I work it out :)
sri senthil kumar
14-Mar-13 5:35am
View
Do you have control over those dropdown in iframe page? i mean whether u can edit the code or with out writing any code on that page, and from master page you want to add tool tip?
Both the way is possible tell me which way you want?
sri senthil kumar
13-Mar-13 9:22am
View
No issue in placing the script in body and it is a good practice to keep the scripts just before the closure of body tag as suggested by some experts. What is the problem your facing in the above code?
sri senthil kumar
13-Mar-13 9:16am
View
you want a nested type gridview to be generated dynamically or individual gridviews?
sri senthil kumar
13-Mar-13 9:14am
View
It might be because of insufficient width provided for div, try overflow, border property for div to identify the issue.
sri senthil kumar
13-Mar-13 9:11am
View
Can you please post the code too, so that we can help you. Hope when you process with both value and text then you can overcome this issue.
sri senthil kumar
13-Mar-13 9:01am
View
Check this url it has some samples
http://witstuner.blogspot.in/2013/02/different-ways-of-ajax-call-in-asp.html
Method should be static
sri senthil kumar
13-Mar-13 8:58am
View
Sorry can't understand your question, are you saying that, you want to maintain the state of checkbox even when it is checked or unchecked?
sri senthil kumar
13-Mar-13 3:11am
View
you're welcome
sri senthil kumar
12-Mar-13 5:47am
View
To my understanding, what you want is to fill the second textbox by calling the getEndDate2? if thats the case then
btnClick.Attributes.Add("onClick", "getEndDate2('" + noOfweeks + "','" + sEmployeeWeeklyOfDay + "','" + DateStart + "');");
Add the above code in page load and remove those button events because in the code you written will bind client event in first click of the button only and on second click the client script might get called. if you want text to populate after losing focus straight a way you can use onblur event of textbox.
sri senthil kumar
6-Mar-13 8:24am
View
Can you please elaborate your question, So that we can help you?
sri senthil kumar
4-Mar-13 6:19am
View
With css we can do this, check this for sample http://jsfiddle.net/tWx5y/. If you want just apply the styles dynamically with jquery or javascript.
sri senthil kumar
4-Mar-13 5:15am
View
Is your modal popup inside the usercontrol you have created ?
sri senthil kumar
4-Mar-13 2:56am
View
Are you using any control for progress bar just a preloader image (like animated gif images)?
If you want any simple preloader then you can do with simple javascript by showing the loader icon on OnClientClick of the button.
sri senthil kumar
4-Mar-13 0:59am
View
you can do this in multiple ways on of them would be adding a url of the same page + querystring for each node. Then on_click of each node postback occurs, taking the values from querystring, you can show respective content in the same page. But with this method page gets refreshed again & again. To avoid you can handle them with ajx method + javascript.
sri senthil kumar
4-Mar-13 0:51am
View
What you mean by template? any style template you want to apply for the application you have developed?
sri senthil kumar
4-Mar-13 0:49am
View
May be you can loop through in that listbox options and get the value. With these value you can make them as single string by using some separator and bind it to the hidden variable. Is you want a similar functionality then I can post you the code, if not explain your requirement bit more.
sri senthil kumar
4-Mar-13 0:25am
View
Good, you want that to fixed in screen always like, even if u scroll up and down the postion of them to be static?
To display the div;s adjacent to each other you can check here "http://jsfiddle.net/rmMqA/2/" you can use overflow property to make the div hav fixed size but when grid size increases scrollbar will come and it wont push the second div down.
sri senthil kumar
1-Mar-13 8:20am
View
“Displaying two div's adjacent” if that’s all your requirement then you can go for “float” attribute with left and right value. If not explain bit more on what you want to do?
sri senthil kumar
1-Mar-13 7:50am
View
check whether ToShortDateString() helps you...
Show More