15,797,801 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 Python questions
View PHP 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 satpal 2 (Top 50 by date)
satpal 2
21-Jun-16 2:55am
View
i am using facebook api on masterpage of this content page..
satpal 2
5-Feb-16 1:44am
View
600-800 request per hour
satpal 2
3-Feb-16 5:54am
View
Sascha Lefèvre i editied my question..i am not interested in making service that burden server every 15 min or any other time interval..so any alternative for this
satpal 2
3-Feb-16 0:55am
View
yes it is misread.I want to say that 15 minute please take a look (above).
satpal 2
2-Feb-16 9:11am
View
thank fro reply Sascha Lefèvre!
if i post news and want to display on my default page at once that news than i have to wait for 15 minute for separate process to fill table ?? except this if this separate process hit on every 15 minute(or any short interval eg;30 second, 1 min)this will be headache for sql server and make it busy unecessary??
satpal 2
26-Jan-16 5:53am
View
i have done test and sole most of problem but not getting anything good for first byte load
https://developers.google.com/speed/pagespeed/insights/?url=http%3A%2F%2Fbansalnews.com%2F
satpal 2
17-Oct-13 7:48am
View
i have no idea about its forum..because my senior have done work on this project.they also forget the forum name.. do yuo have any other option ?
satpal 2
17-Oct-13 7:26am
View
Zafar it is an third party datepicker. I have *.dll for this in my bin folder..
satpal 2
17-Oct-13 7:14am
View
I am using datepicker with version 1.0.0.0
<%@ Register assembly="DatePicker" namespace="DatePicker" tagprefix="SQ" %>
<SQ:DatePicker ID="dpAdmiDate" runat="server" DateFormat="%d/%m/%Y" AutoPostBack="false" />
satpal 2
11-Oct-13 8:44am
View
ok but what is th solution of problem that a code contain procedure for web camera get photo from client side and upload it on local folder of website...
satpal 2
8-Oct-13 4:04am
View
I want in asp.net 3.5
Pls..do reply how to do this
satpal 2
8-Oct-13 4:00am
View
Pls..do reply how to do this
satpal 2
5-Oct-13 6:16am
View
ok
satpal 2
5-Oct-13 5:28am
View
in Dynamsoft is third party utility.that i do not want...is any other recomended link for this.
satpal 2
5-Oct-13 3:45am
View
here is code for javascript function
function OdemaVisible(x, y, z) {
alert("Sat1");
var ddlscanchoice = document.getElementById('<%=ddlOdem.ClientID%>').options[document.getElementById('<%=ddlOdem.ClientID%>').selectedIndex].text;
if (ddlscanchoice == "Yes") {
document.getElementById(y).style.visibility = "visible";
document.getElementById(z).style.visibility = "visible";
}
else {
document.getElementById(y).style.visibility = "hidden";
document.getElementById(z).style.visibility = "hidden";
}
}
satpal 2
5-Oct-13 3:45am
View
here is code for javascript function
function OdemaVisible(x, y, z) {
alert("Sat1");
var ddlscanchoice = document.getElementById('<%=ddlOdem.ClientID%>').options[document.getElementById('<%=ddlOdem.ClientID%>').selectedIndex].text;
if (ddlscanchoice == "Yes") {
document.getElementById(y).style.visibility = "visible";
document.getElementById(z).style.visibility = "visible";
}
else {
document.getElementById(y).style.visibility = "hidden";
document.getElementById(z).style.visibility = "hidden";
}
}
satpal 2
5-Oct-13 3:38am
View
here is code for javascript function
function OdemaVisible(x, y, z) {
alert("Sat1");
var ddlscanchoice = document.getElementById('<%=ddlOdem.ClientID%>').options[document.getElementById('<%=ddlOdem.ClientID%>').selectedIndex].text;
if (ddlscanchoice == "Yes") {
document.getElementById(y).style.visibility = "visible";
document.getElementById(z).style.visibility = "visible";
}
else {
document.getElementById(y).style.visibility = "hidden";
document.getElementById(z).style.visibility = "hidden";
}
}
satpal 2
28-Sep-13 6:18am
View
Asif ..it is still not working
satpal 2
1-Aug-13 9:29am
View
forthcoming assembly elecion where a segment on website to start where MLA is tested on his previous record..so ho to give an aatractive views to represent it data,photo,track record,etc comparison by his rival candidate..
satpal 2
1-Aug-13 9:28am
View
forthcoming assembly elecion where a segment on website to start where MLA is tested on his previous record..so ho to give an aatractive views to represent it data,photo,track record,etc comparison by his rival candidate..
satpal 2
1-Aug-13 9:12am
View
rynab,my question that how i initiate this poll module that represent weekly show on particular candiadet for next assembly election,give me some idea?
satpal 2
1-Aug-13 9:10am
View
will you help me to initiate it by giving idea?
satpal 2
1-Aug-13 9:09am
View
will you help me to initiate it by giving idea?
satpal 2
24-Apr-13 3:05am
View
Not working..giving error..
can not convert table cell to button
satpal 2
24-Apr-13 2:35am
View
Chetan ,i improve question and put a sample code there where i want to disable following column
<asp:ButtonField CommandName="Delete" Text="Remove">
satpal 2
23-Apr-13 3:40am
View
There is grid where a link called "Shift Application Use" on clicking this link button above UpdatePanelShiftApp Panel become visible but then clicking on "logout" link button which is on master page not postback.
Here is Grid desig coding..and gvstatus_Rowcommand coding
<tr>
<td align="center" colspan="2">
<asp:GridView ID="gvstatus" Width="975" runat="server" AutoGenerateColumns="False"
DataKeyNames="Applicantid" EmptyDataText="No Record Found" OnRowCommand="gvstatus_RowCommand"
OnRowDataBound="gvstatus_RowDataBound">
<columns> <asp:ButtonField CommandName="ShiftApplication" Text="Shift Application Use">
<itemstyle width="50px" cssclass="FontEnglish">
<%-- <asp:BoundField DataField="Applicantid" HeaderText="Applicantid" Visible="false" />--%>
<asp:BoundField DataField="Applicantid" HeaderText="Application No." ReadOnly="true"
ItemStyle-CssClass="FontEnglish" Visible="true">
<itemstyle cssclass="FontEnglish" width="70">
<asp:BoundField DataField="DateOfApplicaton" HeaderText="Application Date" DataFormatString="{0:dd/MM/yyyy} "
ReadOnly="true" />
<asp:BoundField DataField="ApplicantName" HeaderText="Applicant Name" />
<asp:BoundField DataField="FatherName" HeaderText="Father Name" />
<asp:BoundField DataField="DOB" HeaderText="Date Of Birth" ItemStyle-Width="67" DataFormatString="{0:dd-MM-yyyy}" />
<asp:BoundField DataField="Gender" HeaderText="Gender" />
<asp:BoundField DataField="Caste" HeaderText="Caste" ItemStyle-Width="60" />
<asp:BoundField DataField="BlockName" HeaderText="Block Name" />
<asp:BoundField DataField="DistrictName" HeaderText="District Name" />
<asp:BoundField DataField="DepartmentName" HeaderText="Department Name" />
<asp:BoundField DataField="OfficerName" HeaderText="Officer Name" ItemStyle-Width="85" />
<asp:BoundField DataField="ServiceName" HeaderText="Service Name" ItemStyle-Width="120" />
<HeaderStyle CssClass="" />
</td>
</tr>
on aspx.cs page
protected void gvstatus_RowCommand(object sender, GridViewCommandEventArgs e)
{
if (e.CommandName == "ShiftApplication")
{
Response.Redirect("ShiftApplication.aspx?applicantid=" + gvstatus.DataKeys[Convert.ToInt32(e.CommandArgument)].Value.ToString());
}
}
satpal 2
23-Apr-13 3:31am
View
<asp:UpdatePanel ID="UpdatePanelShiftApp" runat="server" Visible="False">
<contenttemplate>
<table width="600" align="center" style="border: solid 1px #cccccc;">
<tr>
<th colspan="2">
Shift Application
</th>
</tr>
<tr>
<td>
</td>
<td>
<asp:Label ID="lblmsg" runat="server" ForeColor="Red">
</td>
</tr>
<tr>
<td >
Language
</td>
<td align="left" ><%--style="padding-left:83px"--%>
<asp:DropDownList ID="ddlfont" CssClass="field" runat="server" AutoPostBack="True"
OnSelectedIndexChanged="ddlfont_SelectedIndexChanged">
<asp:ListItem>Hindi
<asp:ListItem>English
</td>
</tr>
<tr>
<td>
Department
</td>
<td>
<asp:DropDownList ID="ddldepartment" CssClass="field" runat="server" AutoPostBack="True"
OnSelectedIndexChanged="ddldepartment_SelectedIndexChanged" Width="300px">
<asp:RequiredFieldValidator ID="RequiredFieldValidator14" runat="server" ControlToValidate="ddldepartment"
EnableTheming="True" ErrorMessage="select department">*
</td>
</tr>
<tr>
<td>
Officers
</td>
<td>
<asp:DropDownList ID="ddlChoseofficer" CssClass="field" runat="server" onchange="return ViewOfficerAdd()"
Width="300px">
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="ddlChoseofficer"
EnableTheming="True" ErrorMessage="select Officer">*
</td>
</tr>
<tr>
<td>
<asp:Label ID="Label1" runat="server" Text="Remarks">
</td>
<td>
<asp:TextBox ID="txtRemark" runat="server" CssClass="NewFont1" TextMode="MultiLine"
Width="300px">
</td>
</tr>
<tr>
<td>
satpal 2
23-Apr-13 3:30am
View
yes..
satpal 2
16-Apr-13 5:01am
View
Working fine now
thanks prashant!
satpal 2
16-Apr-13 2:52am
View
i unable to aaply can you apply on privious code that i gave to u.
satpal 2
16-Apr-13 2:02am
View
how to do that Prashant?
satpal 2
16-Apr-13 1:41am
View
yes .
.NewFont1
{ border:solid 1px #d3cfc7; background:#fff; padding:3px;
-moz-border-radius:4px; -webkit-border-radius:4px; border-radius: 4px;
font-family:'DevLys 010';
font-size: 15px;
src:url('~/Designer/KRDV010.eot')/*url('~/Designer/DEVLYS0.eot');*/;
width: 75px;
}
.FontEnglish{font-family: Verdana, sans-serif;
font-size:11px;
line-height:14px;
color: #787878
}
except this i am pasting whole rowdatabound
protected void gvstatus_RowDataBound(object sender, GridViewRowEventArgs e)
{
gvstatus.HeaderStyle.CssClass = "FontEnglish";
if (e.Row.RowType == DataControlRowType.DataRow)
{
e.Row.Cells[0].CssClass = "FontEnglish";
e.Row.Cells[13].CssClass = "FontEnglish";
e.Row.Cells[15].CssClass = "FontEnglish";
e.Row.Cells[16].CssClass = "FontEnglish";
e.Row.Cells[2].CssClass = "FontEnglish";
e.Row.Cells[5].CssClass = "FontEnglish";
DataTable cab = (DataTable)Session["tab"];
for (int i = 0; i < cab.Rows.Count; i++)
{
if (cab.Rows[i]["language"].ToString() == "H")
e.Row.CssClass = "NewFont1";
else
e.Row.CssClass = "FontEnglish";
}
if (e.Row.RowIndex != gvstatus.EditIndex)
{
LinkButton lnkview = (LinkButton)e.Row.Cells[0].Controls[0];
DataTable tab = (DataTable)Session["tab"];
for (int i = 0; i < tab.Rows.Count; i++)
{
if (tab.Rows[i]["FAdesignationid"].ToString() == "0" && tab.Rows[i]["SAdesignationid"].ToString() == "0")
{
if (tab.Rows[i]["RedressalAuthority"].ToString() == Session["OfficerID"].ToString())
{
lnkview.Enabled = true;
Session["view"] = true;
}
else
{
Session["view"] = false;
}
}
if (tab.Rows[i]["SAdesignationid"].ToString() == "0" && tab.Rows[i]["CaseToFA"].ToString() == "True")
{
if (tab.Rows[i]["FAdesignationid"].ToString() == Session["OfficerID"].ToString())
{
lnkview.Enabled = true;
Session["view"] = true;
}
else
{
Session["view"] = false;
}
}
if (tab.Rows[i]["CaseToSA"].ToString() == "True")
{
if (tab.Rows[i]["SAdesignationid"].ToString() == Session["OfficerID"].ToString())
{
lnkview.Enabled = true;
Session["view"] = true;
}
else
{
Session["view"] = false;
}
}
}
}
}
else if(e.Row.RowType == DataControlRowType.Header)
{
gvstatus.HeaderStyle.CssClass="FontEnglish";
}
}
satpal 2
16-Apr-13 1:19am
View
this is not working
satpal 2
16-Apr-13 0:51am
View
But css is not remain same as i want to diiferent row have diffrent css randomly on any row not like alternating css.i am writing code below that have problem.
protected void gvstatus_RowDataBound(object sender, GridViewRowEventArgs e)
{
if (e.Row.RowType == DataControlRowType.DataRow)
{ if (cab.Rows[i]["language"].ToString() == "H")
{
gvstatus.HeaderStyle.CssClass = "FontEnglish";
gvstatus.RowStyle.CssClass = "NewFont1";
}
else
{
gvstatus.HeaderStyle.CssClass = "FontEnglish";
gvstatus.RowStyle.CssClass = "FontEnglish";
}
}
}
my problem that css at last row applied is work on whole grid.i want particular row's css diffrent rom other row.
satpal 2
16-Apr-13 0:50am
View
But css is not remain same as i want to diiferent row have diffrent css randomly on any row not like alternating css.i am writing code below that have problem.
protected void gvstatus_RowDataBound(object sender, GridViewRowEventArgs e)
{
if (e.Row.RowType == DataControlRowType.DataRow)
{ if (cab.Rows[i]["language"].ToString() == "H")
{
gvstatus.HeaderStyle.CssClass = "FontEnglish";
gvstatus.RowStyle.CssClass = "NewFont1";
}
else
{
gvstatus.HeaderStyle.CssClass = "FontEnglish";
gvstatus.RowStyle.CssClass = "FontEnglish";
}
}
}
my problem that css at last row applied is work on whole grid.i want particular row's css diffrent rom other row.
satpal 2
25-Mar-13 8:25am
View
Deleted
.
satpal 2
25-Mar-13 8:17am
View
I mean that how to invoke web service daily at 7 am automatically.
satpal 2
25-Mar-13 8:06am
View
ok..can be start with web service
satpal 2
25-Mar-13 8:01am
View
no.and where to put.I am new in web services.can u help me.
satpal 2
25-Mar-13 7:56am
View
hello,ryanb31 can you give me any working solution for this.thanks in advance.
satpal 2
23-Mar-13 4:29am
View
Prasad thanks for your opinion. but tell me that how scheduled task run automatically? I want running it automatically.
satpal 2
23-Mar-13 4:07am
View
have u done any post regarding my requet Prasad?
satpal 2
23-Mar-13 2:51am
View
Good morning prasad.can you give me any egxample for that.
satpal 2
26-Nov-12 6:47am
View
thanks i have done similar way by fixing it in all <th> in header and content template in repeater :)
satpal 2
6-Nov-12 8:42am
View
ok thanks for this :)
satpal 2
6-Nov-12 8:37am
View
it is not working for null value counting!!
satpal 2
6-Nov-12 2:03am
View
Yes, because i want to select data yearwise from drop down.
satpal 2
6-Nov-12 1:10am
View
I have label within the update panel,in that label i putted a pie chart
that not have a hover effect.Response.Write(mychartdata.getImageMap("imgMap3")); do this work for making hover. but it stop drop down onselected event
lblReferedByBelow.Text = "<img border='0' usemap='#imgMap3' src='pieChartServer.aspx?Legends=(" + strHeading + ")&Vals=(" + strValues +
")&Expload=(" + strExpload +
")&fontface=" + "verdana" +
"&fontsize=" + "8" +
"&LS=" + "10" +
"&RS=" + "10" +
"&TS=" + "10" +
"&BS=" + "10" +
"&pieRatio=" + "70" +
"&bar3dratio=" + "8" +
"&EoffSet=" + "35" +
"&imgFormat=" + 0 +
"&pieDia=" + 200 + "'>";
Response.Write(mychartdata.getImageMap("imgMap3"));
satpal 2
6-Nov-12 1:09am
View
I have label within the update panel,in that label i putted a pie chart
that not have a hover effect.Response.Write(mychartdata.getImageMap("imgMap3")); do this work for making hover. but it stop drop down onselected event
lblReferedByBelow.Text = "<img border='0' usemap='#imgMap3' src='pieChartServer.aspx?Legends=(" + strHeading + ")&Vals=(" + strValues +
")&Expload=(" + strExpload +
")&fontface=" + "verdana" +
"&fontsize=" + "8" +
"&LS=" + "10" +
"&RS=" + "10" +
"&TS=" + "10" +
"&BS=" + "10" +
"&pieRatio=" + "70" +
"&bar3dratio=" + "8" +
"&EoffSet=" + "35" +
"&imgFormat=" + 0 +
"&pieDia=" + 200 + "'>";
Response.Write(mychartdata.getImageMap("imgMap3"));
satpal 2
23-Jul-10 5:06am
View
question is not understood properly
Show More