15,894,267 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 Sathish km (Top 179 by date)
Sathish km
9-Jun-17 6:30am
View
Thanks for ur reply. I got it
Sathish km
29-Sep-16 5:50am
View
hi vincent, i got the answer thank you for reply
Sathish km
27-Sep-16 2:21am
View
thank a lot....
Sathish km
27-Sep-16 2:16am
View
i replaced that code with
$("#<%=btnClear.ClientID %>").live("click", function () {
alert('live btnClear')
$('body').css('overflow', 'hidden'); // Hide the scrollbar
});
now it's working fine
Sathish km
27-Sep-16 1:15am
View
No. i can't able to call this $("#<%=btnClear.ClientID %>").click(function () not more than once
this event will trigger correctly (protected void btnSubmit_Click(object sender, EventArgs e))
Sathish km
27-Sep-16 0:54am
View
yes. it hits code-behind
<asp:Button ID="btnSubmit" runat="server" CssClass="k-button_GetListOSC" Text="Submit" Width="135" Height="30px" TabIndex="10" Enabled="true" OnClick="btnSubmit_Click" />
Sathish km
27-Sep-16 0:42am
View
$(document).ready(function () {
//This function will raise when click on asp button control
$("#<%=btnClear.ClientID %>").click(function () {
$('body').css('overflow', 'hidden'); // Hide the scrollbar
});
});
I can't able to call btnClear click event more than one time. Why?
Sathish km
27-Sep-16 0:42am
View
$(document).ready(function () {
//This function will raise when click on asp button control
$("#<%=btnClear.ClientID %>").click(function () {
$('body').css('overflow', 'hidden'); // Hide the scrollbar
});
});
I can't able to call btnClear click event more than one time. Why?
Sathish km
27-Sep-16 0:38am
View
no
Sathish km
22-Sep-16 7:07am
View
Got it..
Page.ClientScript.RegisterStartupScript(this.GetType(), string.Format("CallMyFunction{0}", incre), "timer(" + incre + ");", true);
have to pass uniqueid to call more then one time.
Sathish km
22-Sep-16 6:26am
View
see my updated question
Sathish km
22-Sep-16 6:24am
View
Thanks. but This doesn't give any alert
I have 10 records to bin into repeater, so it will hit R1_ItemDataBound 10 times, so i need to trigger javascript function for 10 times.
Sathish km
17-Aug-16 4:55am
View
<form id="form1" runat="server">
<div>
<div class="thumbnail">
<div id="DemoCarousel" class="carousel slide" data-interval="2000" data-ride="carousel">
<asp:Repeater ID="rptMain" runat="server" OnItemDataBound="OnItemDataBound">
<itemtemplate>
<ol class="carousel-indicators">
<asp:Repeater ID="rptIndicators" runat="server">
<itemtemplate>
<li data-target="#DemoCarousel" data-slide-to='<%# Container.ItemIndex%>' class='<%# Container.ItemIndex == 0 ? "active" : "" %>'>
<%-- <%# Container.ItemIndex%>--%>
</li>
</ol>
<div class="carousel-inner">
<asp:Repeater ID="rptSlides" runat="server">
<itemtemplate>
<div <%# Container.ItemIndex == 0 ? "class=\"item active\"" : "class=\"item\"" %>>
<div class="carousel-caption">
<%-- <img src='<%# DataBinder.Eval(Container.DataItem,"Value") %>' class="img-responsive" alt="" style="width: 300px;
height: 388px">
<img src='<%# DataBinder.Eval(Container.DataItem,"Value") %>' class="img-responsive" alt="" style="width: 300px;
height: 388px">--%>
<%--<img src='http://moss2013-dev/EIP2010/FAS/InternalDocuments/LE_SZ000010_FPI_12_INR_0000122nature-wallpapers-hd-9.jpg' />--%>
<img src='<%# DataBinder.Eval(Container.DataItem,"Value") %>' />
</div>
</div>
</div>
<span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span><span class="sr-only">Previous</span>
<span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span><span class="sr-only">Next</span>
</div>
</div>
</div>
</form>
Sathish km
19-Jul-16 12:56pm
View
what did u can't understand? i wil explain
Sathish km
19-Jul-16 12:29pm
View
Only 3 rows of data
with 18 columns
Sathish km
19-Jul-16 0:31am
View
don't know the size. How to get it?
Sathish km
29-Jun-16 3:02am
View
ok. leave it
Sathish km
29-Jun-16 0:22am
View
i hav to pass "product" Instead of #=strBillAmount# inside of @Html.Numeric()
strBillAmount --- > Model property
@Html.Numeric()---> Our Custom control
Sathish km
17-Jun-16 7:47am
View
Sema.
Sathish km
17-Jun-16 7:44am
View
Nerrupu da...
Sathish km
17-Jun-16 6:16am
View
Sathish Chennai
Sathish km
17-Jun-16 4:52am
View
Thanks man... easy & simple ...
Sathish km
23-Mar-16 2:12am
View
Thank u for ur reply...
return {
Parameters: JSON.stringify(ParamArray),
}
How do i return @Html.Raw(p); instead of JSON.stringify(ParamArray),
Sathish km
19-Mar-16 6:06am
View
can u able put p in @Html.Raw(), for me the same problem exists. How ?
Sathish km
17-Mar-16 5:47am
View
string is not accepting as valid datatype.
How to declare collection model into @Html.Raw(Json.Encode())
Sathish km
15-Mar-16 6:57am
View
Just Hardcoded values
Sathish km
15-Mar-16 6:43am
View
two properties
Sathish km
15-Mar-16 6:19am
View
add data to SelectListItem(Text & Value )
Sathish km
15-Mar-16 6:19am
View
add data to SelectListItem(Text & Value )
Sathish km
14-Mar-16 23:46pm
View
update my question
Sathish km
14-Mar-16 4:41am
View
@{ Html.RenderPartial("_Cluster", Model.objModel); }
Sathish km
14-Mar-16 1:57am
View
I don't want controller for partial view, because use the P.View in different projects or cshtml pages. so i want it as Dll(class library project).
Sathish km
14-Mar-16 1:33am
View
No controller, for that i'm using from classlibrary project
Sathish km
14-Mar-16 1:26am
View
sorry, some errors shown when posting
Sathish km
4-Mar-16 4:05am
View
I want the field should be non-editable(read-only)
Sathish km
4-Mar-16 4:04am
View
ex. if u change the months by up/ down keys. but i don' want this
Sathish km
1-Feb-16 1:37am
View
By changing position property(Left/Right) in MVC Kendo
ex:
.Position(TooltipPosition.Right)
Sathish km
1-Feb-16 1:05am
View
@(Html.EIP().EIPMVCLabelPopUp()
.For("Vendor:VBI00165")
.Position(TooltipPosition.Right)
.Width(0)
.Height(0)
.LabelType("Vendor")
.Content("VBI00165")
)
Based on the position, i want to change the styles.
The above code is in classlibrary, so i cant add javascript
Sathish km
30-Jan-16 7:55am
View
yes. based on condition of my custom control, i want to change the styles
ex:
A CustomControl having property called position(Left/Right)
if position is left means, the alinment should change.
Sathish km
29-Jan-16 7:30am
View
mainly for custom control design.
Sathish km
29-Jan-16 7:30am
View
mainly for custom control design.
Sathish km
20-Jan-16 22:46pm
View
yes.. only TTSCancel/View2 this i'm getting in urlsearch not localhost
Sathish km
20-Jan-16 9:27am
View
If i change Routeconfig action & controller name means it will opening....
Sathish km
20-Jan-16 9:26am
View
http://localhost:60972/TTSCancel/View2
Sathish km
20-Jan-16 9:13am
View
@using Kendo.Mvc.UI
@{
Layout = "~/Views/Shared/_MobileKendoLayout.cshtml";
}
View2
@model List<tts.models.cancelmodel>
@(Html.Kendo().MobileView()
.Name("drawer-home")
.HtmlAttributes(new { @style = "background-color:#e4f0f8"})
.Title("Ticket Cancel")
.Content(@<text>
Code :
<label class="labelclass">@ViewBag.Code</label>
Decsription :
<label class="labelclass">@ViewBag.Desc</label>
)
.Header(obj =>
Html.Partial("~/Views/Shared/_MobileKendoHeader.cshtml")
)
.Footer(@<text>
@(Html.Kendo().MobileButton()
.Align(MobileButtonAlign.Center)
.Text("Submit")
.HtmlAttributes(new { @style = "font-family:'AlgerianRegular';font-size: 15px;font-weight: normal;border:none; background:#2b6bd0;color:white;" })
//.HtmlAttributes(new { style = "width:100%;color:white;float:right;border-right-color:white;" })
.Name("modalview-open-button")
)
@Html.Hidden("hdnfilename")
)
)
<div id="Windows" style="display:none; margin-bottom:50%;margin-top:47%;margin-left:8%">
</div>
<style type="text/css">
@@font-face {
font-family: 'AlgerianRegular';
src: url('@Url.Content("~/Content/TCM.TTF")') format("truetype");
}
h1 {
font-family: 'AlgerianRegular';
font-size: 12px;
}
</style>
<style>
#drawer-home .km-scroll-wrapper {
background-color: #e4f0f8;
}
#drawer-home .km-footer {
background-color: #e4f0f8;
}
</style>
<link href="@Url.Content("~/Content/themes/commonstyles.css")" rel="stylesheet" type="text/css" />
<link href="@Url.Content("~/Content/kendo/kendo.material.min.css")" rel="stylesheet" />
<link href="@Url.Content("~/Content/kendo/kendo.common.min.css")" rel="stylesheet" type="text/css" />
<link href="@Url.Content("~/Content/kendo/kendo.common-material.min.css")" rel="stylesheet" type="text/css" />
Sathish km
20-Jan-16 8:39am
View
[HttpPost]
Sathish km
20-Jan-16 8:31am
View
public ActionResult View2(string GetSelectedVal)
{
IList<string> split1;
split1 = GetSelectedVal.Split(new[] { '\n' });
ViewBag.Code = split1[0];
ViewBag.Desc = split1[2];
return View();
}
passing to this..
Sathish km
18-Jan-16 23:03pm
View
Without installing it...
Sathish km
11-Jan-16 8:46am
View
Got it...
items.Split(' ')[0];
Sathish km
9-Jan-16 5:05am
View
yes
Sathish km
9-Jan-16 0:17am
View
'string' does not contain a definition for 'Location' and no extension method 'Location' accepting a first argument of type 'string' could be found (are you missing a using directive or an assembly reference?
now getting error....
Sathish km
8-Jan-16 9:14am
View
i want to assign location to many controls so i don't want it assign as multiple line code. i need to assign in single line code....
Sathish km
8-Jan-16 8:54am
View
want to pass assign name of all control to lab.Location from LabelName.Name = split1[i].ToString();
if LabelName.Name is "a" or "b" or "c" pass it to lab.location (name)
Sathish km
8-Jan-16 8:36am
View
for (int i = 0; i < split1.Count(); i += 3)
{
Label LabelName = new Label();
LabelName.Name = split1[i].ToString();
//lblVoucherNo.Location.
lblVoucherNo.Location = new Point(Convert.ToInt32(split1[i + 1]), Convert.ToInt32(split1[i + 2]));
MyMethod(LabelName, new Point(Convert.ToInt32(split1[i + 1]), Convert.ToInt32(split1[i + 2])));
}
public void MyMethod(Label lab, Point p)
{
lab.Location = p;
//lab.Text = str;
}
i want to pass LabelName.Name to lab.Location instead of lab...
Sathish km
7-Jan-16 4:35am
View
this is my code...
DataTable dtXml = new DataTable("Table1");
dtXml.Columns.Add("ParamName");
dtXml.Columns.Add("ParamValue");
dtXml.Columns.Add("SerialNo");
dtXml.Columns.Add("ParamDesc");
dtXml.Columns.Add("ControlType");
dtXml.Columns.Add("ParamDisplay");
DataSet dsXml = new DataSet();
dsXml.DataSetName = "NewDataSet";
if (dtXml.Rows.Count != 0)
{
dtXml.Clear();
}
DataRow dr;
if (UDPColl != null && UDPColl.Count > 0)
{
int CountSlNo = 1;
foreach (string items in UDPColl)
{
dr = dtXml.NewRow();
//dr.ItemArray = items.Split('~');
dr["ParamName"] = items.Split(',').Last();
dr["ParamValue"] = items.Remove(items.LastIndexOf(',') + 1);
dr["SerialNo"] = CountSlNo;
dr["ParamDesc"] = "Description";
dr["ControlType"] = "D";
dr["ParamDisplay"] = items.Split(',').Last();
dtXml.Rows.Add(dr);
CountSlNo++;
}
dsXml.Tables.Add(dtXml);
Sathish km
5-Jan-16 4:30am
View
no i have txtAccCentre_LostFocus event..
Sathish km
28-Dec-15 9:02am
View
thkx. yes it works through click function but i want to open it by hyperlink action.
Sathish km
28-Dec-15 7:52am
View
Please tell any changes in my code.
Sathish km
28-Dec-15 7:52am
View
didn't found in this script..
Sathish km
15-Dec-15 7:33am
View
/$('.chkbxAuthorize').change(function () {
// if ($('input.chkbxAuthorize').filter(':checked').length == 1)
// $('input.chkbxReject:not(:checked)').attr('disabled', 'disabled');
// else
// $('input.chkbxAuthorize').removeAttr('disabled');
//});
Sathish km
15-Dec-15 7:14am
View
two checkbox columns are added by HeaderTemplate,ClientTemplate. if i any checkbox another checkbox to be disable of same row..
Sathish km
14-Dec-15 8:59am
View
k.How can i pass the data from _checkedData[i] to post method? pls give me a solution
Sathish km
14-Dec-15 0:21am
View
i Got it... tnks for reply
Sathish km
13-Dec-15 23:22pm
View
http://jsfiddle.net/Xg56P/72/ like this.
no c# coll jquery coll and pass it to controller method.
Sathish km
13-Dec-15 23:19pm
View
http://jsfiddle.net/Xg56P/72/
I need like this above ex. Pass that collection value to controller method
Sathish km
12-Dec-15 3:52am
View
thks. i got it.
have another issue from getting checked row data from kendo grid & add it to collection.
var grid = $("#grid").data("kendoGrid");
var row = $("input:checked", grid.tbody).closest("tr");
var item = grid.dataItem(row);
from that above script. i want to filter only required data. How?
Sathish km
27-Nov-15 9:48am
View
this link require access..
Sathish km
26-Nov-15 9:11am
View
i have updated my qtn...
Sathish km
25-Nov-15 4:43am
View
[HttpGet]
public DataSet GetAllcarDetails(string AccCode, string CurrCode, string ACBCode, string DocNo) //
{
string connString = @"Data Source=db; Initial Catalog=xx; Integrated Security=True;";
LtSqlClient sqlClientConn = new LtSqlClient(connString);
LtSqlParams LtSqlParams = new LtSqlParams();
LtSqlParams.SPName = "SP_Name";
LtSqlParams.addParameter("@intUID", 523); //105086
LtSqlParams.addParameter("@intDTCode", "403");//403 intDTCode
LtSqlParams.addParameter("@intCompanyCode", 1);
LtSqlParams.addParameter("@chrTag", "s"); //ChrTag
LtSqlParams.addParameter("@intCurrencyCode", CurrCode); //172 strCurrencyCode //CurrCode
LtSqlParams.addParameter("@chrACCode", AccCode); //qz000010 strACCcode
LtSqlParams.addParameter("@dtFinancialPeriodFrom", "13 - JUL - 2015"); // "13 - JUL - 2015" DateFrom
LtSqlParams.addParameter("@dtFinancialPeriodTo", "13 - NOV - 2015");// dtVoucherTo DateTo
LtSqlParams.addParameter("@strACBCode ", ACBCode); //008 strACBCode ACBCode
LtSqlParams.addParameter("@strDocumentNo", DocNo);//500100 VoucherNo 0 DocNo
LtSqlParams.addParameter("@chrTLRNumber", "99999");//500100 ChequeNo
DataSet ds = new DataSet();
ds = sqlClientConn.LtDataSet(LtSqlParams);
return ds;
}
How do i assign parameter to this from your link?
Sathish km
23-Nov-15 6:51am
View
only form is getting shadow effect. How to implement to controls like button within that Form.
Sathish km
21-Nov-15 4:41am
View
Want To share a kendo window(in View page) to another projects View pages by button click(same solution)...
Sathish km
20-Nov-15 8:56am
View
Thanks a lot...
Sathish km
20-Nov-15 8:41am
View
That one i'm asking. I have updated my question see that.
Sathish km
20-Nov-15 6:04am
View
i want to bind the data from "success: function (data)" to kendoGrid UI. I tried but it's not working. give me a solution
Sathish km
20-Nov-15 5:58am
View
@(Html.Kendo().Grid<webapp.models.carsstock>()
.Name("grid")
.Columns(columns =>
{
columns.Bound(c => c.CarID).Width(140);
columns.Bound(c => c.CarModel).Width(190);
columns.Bound(c => c.CarName);
columns.Bound(c => c.CarPrice).Width(110);
columns.Bound(c => c.CarColor).Width(150);
})
.HtmlAttributes(new { style = "height: 300px;" })
.Scrollable()
//.Sortable()
//.Pageable(pageable => pageable
// .Refresh(true)
// .PageSizes(true)
// .ButtonCount(5))
.DataSource(dataSource => dataSource
.Ajax()
//.Read(read => read.Action("Customers_Read", "Grid"))
)
)*@
Sathish km
18-Nov-15 23:51pm
View
instead of Mailid i want to pass my column name from sql to jquery(val.MailId). I'm not declares any fields, so i directly binded data by (.edmx) type.
how?
Sathish km
18-Nov-15 23:47pm
View
k. i got...
Sathish km
18-Nov-15 9:35am
View
tml += '<tr><td>' + '
' + val.MailID + '
' + '</td><td>' + val.SubscriberID +'</td><td>' + val.SubscribedDate + '</td></tr>';
I'm not used any of these fields, i just copy& paste it. while i typing val. means the intellisense is showing SubscribedDate ,MailID .. How it is?
Sathish km
18-Nov-15 9:35am
View
html += '<tr><td>' + '
' + val.MailID + '
' + '</td><td>' + val.SubscriberID +'</td><td>' + val.SubscribedDate + '</td></tr>';
i'm not using any of these fields. I just copy & Paste the code, While typing val., the intellisense showing SubscriberID,SubscribedDate,MailID..
How it is?
Sathish km
18-Nov-15 9:26am
View
But i'm not using that table.
Sathish km
18-Nov-15 6:48am
View
anything...
Sathish km
18-Nov-15 4:56am
View
I formatted now
Sathish km
17-Nov-15 3:47am
View
thnks.. can u explain use of static which in simple..
Sathish km
17-Nov-15 1:08am
View
List<string> getListCol = new List<string>();
DataTable dtGetList = new DataTable();
//dtGetList.Columns.Add("Sl No").AutoIncrement = true; //For sorting numeric values set by typeof(int), default sorting is string.
DataColumn SlCol = new DataColumn("#", typeof(System.Int32));
dtGetList.Columns.Add(SlCol);
//SlCol.AutoIncrement = true;
//SlCol.AutoIncrementSeed = 1;
dtGetList.Columns.Add("Voucher Number");
dtGetList.Columns.Add("Voucher Date");
dtGetList.Columns.Add("Vendor Name");
dtGetList.Columns.Add("Cheque Amount");
dtGetList.Columns.Add("Cheque Number", typeof(System.Int32));
//dtGetList.Columns.Add("Select", System.Type.GetType("System.Boolean")); //adding Checkbox to grid column header (Method 1)
dtGetList.Columns.Add(" ", System.Type.GetType("System.Boolean"));
//int SlCount = 1;
int CountChqNo = Convert.ToInt32(strChqNo);
foreach (DataRow dr in dsGetlist.Tables[0].Rows)
{
string strformat;
DataRow drGetList = dtGetList.NewRow();
strformat = "f" + Convert.ToInt32(dr["DecimalPlaces"]).ToString(); //Formatting Currency Value
drGetList["Voucher Number"] = dr["Voucher_No"];
drGetList["Voucher Date"] = dr["Voucher_Date"];
drGetList["Vendor Name"] = dr["VendorName"];
drGetList["Cheque Amount"] = Convert.ToDecimal(dr["Amount"]).ToString(strformat);
drGetList["Cheque Number"] = CountChqNo; //dr["TLRBR_Cheque_Number"]
drGetList[" "] = "false";
dtGetList.Rows.Add(drGetList);
//ChkdGetList = dtGetList;
CountChqNo = CountChqNo + 1; // Auto Increment etxtStartChequNo input No
getListCol.Add(dtGetList.ToString());
}
Sathish km
17-Nov-15 1:05am
View
ok
Sathish km
3-Nov-15 23:06pm
View
Great it's Working Thnk U....
Sathish km
3-Nov-15 23:06pm
View
Great it's Working Thnk U....
Sathish km
3-Nov-15 9:30am
View
ok. How to avoid from sorting Sl.No Column when other columns are sorting in windows Form DataGridView? Now tell me solution. can u understand?
Sathish km
2-Nov-15 5:11am
View
thks...
Sathish km
2-Nov-15 5:03am
View
No. How to do? Give any example please
Sathish km
2-Nov-15 4:08am
View
I want for WindowsForms datagrid, <![CDATA[<%#Container.Eval(DataGrid.ItemIndex+1)%>]]> is not supported.
Sathish km
27-Oct-15 5:47am
View
got it.. Thk u
Sathish km
27-Oct-15 4:58am
View
How?
if(search == null || search == string.empty || string.IsEmptyOrNull(search)) {
var emp = Employee.GetList();
return View(emp);
}
else{
var emp = Employee.GetList().Where(e => e.Name == search);
return View(emp);
}
getting error while declaring two 'emp' name used.
Sathish km
27-Oct-15 4:57am
View
javascript not firing.
Sathish km
17-Oct-15 0:13am
View
ok
Sathish km
14-Oct-15 12:39pm
View
yes in winform. No all rows to form 2 grid which is usually empty only.
i can able to bind that grid now, my issue is not able to retain the checked state row on grid(form1) to grid(form2).
ex: Form1 grid having 10 rows,assume i checked first 5 rows by checkbox rest of other rows are not checked. I want this checked rows to be checked in form 2 Grid remaining unchecked also to be bind.
am i explained clearly?
Sathish km
14-Oct-15 10:26am
View
in form 1 having grid with checkbox (in checked state). i have to bind whole grid in form 1 into grid in form 2 along with checkbox which are all checked.
Sathish km
14-Oct-15 1:09am
View
thk u. i got it man
Sathish km
14-Oct-15 0:15am
View
Sorry for no reply, Thks!
Why you are inserting to temp (11),(12),(13),(15), (17),(20)
i want to insert value into Row Column from front end,by that i/p we have to check it in sql which is available, if not, skip & increment to check next number.
Sathish km
8-Oct-15 1:54am
View
Convert.ToInt32(((CurList)(cbCur.SelectedValue)).CurCode) => int parameter only
Sathish km
7-Oct-15 5:20am
View
give any solution for this
Sathish km
7-Oct-15 5:20am
View
ChNo IS GENERATED BY starting input number given to textbox(UI). Only we have to the given textbox num which is already exist in table or not. If it exists means skip it and increment it to check whether it is available. Each and Every num i have to check.
Sathish km
7-Oct-15 4:36am
View
yes.
Sathish km
6-Oct-15 8:44am
View
thks I also Got my own.
Sathish km
6-Oct-15 8:43am
View
Thks! i also got my own...
Sathish km
24-Sep-15 9:20am
View
Thank a lot! But DisplayMemberPath & SelectedValuePath property cannot be declared.
how?
Sathish km
21-Sep-15 4:53am
View
ITEMS ARE ADDED, NOT INDEX BASED
Sathish km
11-Sep-15 6:20am
View
i'm new to wpf. want to develop desktop application for all screen resolution support. What to do?
Sathish km
11-Sep-15 4:22am
View
thk u
Sathish km
11-Sep-15 3:07am
View
Deleted
from which country?
Sathish km
11-Sep-15 2:59am
View
Deleted
Alexandrovich as Alex is it wrong? if it is wrong means sorry
Sathish km
11-Sep-15 2:52am
View
to u
Sathish km
11-Sep-15 2:37am
View
Hi Alex, i already saw this but no proper solution.
Sathish km
10-Sep-15 2:36am
View
i tried ur points but no improve
Sathish km
10-Sep-15 2:00am
View
public TemplateForm(bool bChecked)
{
InitializeComponent();
//lblExceeding.Visible = false;
if (bChecked == true)
value = 1;
else
value = 0;
((System.Windows.Forms.Control)(lblExceeding)).Visible = bChecked;
}
void CheckedChangedEnent(int iIndex, bool bChecked)
{
//pUserControl1.objList[iIndex].blnIsChecked = bChecked;
if (iIndex == 0)
pUserControl1.blnExceedingClick = bChecked;
//TemplateForm tmpForm = new TemplateForm(null, null, null, null, null, null, null, null, null, true);
TemplateForm tmpForm = new TemplateForm(bChecked);
if (iIndex != 0)
mDataGridView.Columns[iIndex-1].Visible = bChecked;
//if (mCheckedListBox.Items.Count)
//{
//}
//tmpForm.lblExceeding.Visible = bChecked;
((System.Windows.Forms.Control)(tmpForm.lblExceeding)).Visible = bChecked;
}
Sathish km
10-Sep-15 1:30am
View
i also used, but i hav some issue. the chckbox i placed into panel user control.
Sathish km
10-Sep-15 0:57am
View
thks for reply. my checkbox is in user control panel, whenever i check the lbl will either show/hide. i dont want checkBox1_CheckedChanged event
Sathish km
8-Sep-15 7:05am
View
thks u. working
Sathish km
8-Sep-15 6:11am
View
please help me how to fire that event?
Sathish km
8-Sep-15 5:48am
View
Deleted
that event wont be fired...
Sathish km
8-Sep-15 5:11am
View
nice
Sathish km
8-Sep-15 5:04am
View
Deleted
so u don't know the solution?
Sathish km
8-Sep-15 5:01am
View
Deleted
how?ex:
Sathish km
7-Sep-15 7:06am
View
yes
Sathish km
7-Sep-15 5:57am
View
Deleted
<window x:class="HideUnhideDGInWPF.Window1"
="" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" title="DataGrid Sample" height="300" width="595" xmlns:my="clr-namespace:Microsoft.Windows.Controls;assembly=WPFToolkit" resizemode="CanMinimize">
<grid>
<grid.rowdefinitions>
<rowdefinition height="55*">
<rowdefinition height="207*">
<my:datagrid x:name="dgData" grid.row="1">
<wrappanel x:name="wrapColumns">
Sathish km
1-Sep-15 23:55pm
View
hey i have posted above, didn't see?
Sathish km
29-Aug-15 2:43am
View
please give clear idea.
Sathish km
29-Aug-15 2:07am
View
col1 col2 col3 checkboxColumn
1 a b X
2 c d X
3 e f X
Sathish km
29-Aug-15 2:05am
View
hw can i show?
Sathish km
28-Aug-15 9:30am
View
--- moved to the question ---
Sathish km
28-Aug-15 9:30am
View
--- deleted ---
Sathish km
28-Aug-15 9:04am
View
ok
Sathish km
28-Aug-15 8:10am
View
both are same i wrongly typed...
Sathish km
28-Aug-15 7:05am
View
CCode = (int)Enum.Parse(typeof(CList), cu.ToString())
EnumHere?
This is i'm using.
Sathish km
27-Aug-15 8:35am
View
I want to know how to implement in my code?
Sathish km
26-Aug-15 7:58am
View
IEnumerable objBankList = GetAList(1, "S", "A", 72, 523, null);
if (dsDetails == null || dsDetails.Tables[0].Rows.Count == 0)
{
DataRow drDetails = dsDetails.Tables[0].NewRow();
drDetails["BName"] = "No Records";
drDetails["BCode"] = 0;
drDetails.Tables[0].Rows.InsertAt(drDetails , 0);
}
else if (dsDetails.Tables[0].Rows.Count > 1)
{
DataRow drDetails = dsDetails.Tables[0].NewRow();
drDetails["BName"] = "<-- Select -->";
drDetails["Code"] = 0;
dsDetails.Tables[0].Rows.InsertAt(drDetails, 0);
}
//cb1.DisplayMember = "BName";
//cb1.ValueMember = "BCode";
//cb1.DataSource = dsDetails.Tables[0];
I want to use objApproverlist instead of dsGetails to cb1.datasource
cb1.DisplayMember = "Description";
cb1.ValueMember = "ACode";
cb1.DataSource = objApproverlist;
Sathish km
26-Aug-15 7:54am
View
i need code for IF condition..
Sathish km
26-Aug-15 7:53am
View
IEnumerable<alist> objBankList = GetAList(1, "S", "A", 72, 523, null);
if (dsDetails == null || dsDetails.Tables[0].Rows.Count == 0)
{
DataRow drDetails = dsDetails.Tables[0].NewRow();
drDetails["BName"] = "No Records";
drDetails["BCode"] = 0;
drDetails.Tables[0].Rows.InsertAt(drDetails , 0);
}
else if (dsDetails.Tables[0].Rows.Count > 1)
{
DataRow drDetails = dsDetails.Tables[0].NewRow();
drDetails["BName"] = "<-- Select -->";
drDetails["Code"] = 0;
dsDetails.Tables[0].Rows.InsertAt(drDetails, 0);
}
//cb1.DisplayMember = "BName";
//cb1.ValueMember = "BCode";
//cb1.DataSource = dsDetails.Tables[0];
cb1.DisplayMember = "Description";
cb1.ValueMember = "ACode";
cb1.DataSource = objApproverlist;
I want to use objApproverlist instead of dsGetails to cb1.datasource
Sathish km
26-Aug-15 7:05am
View
hw Can i achieve this? where to put?
Sathish km
18-Aug-15 4:33am
View
i tried like this. what problem in this code?
Sathish km
18-Aug-15 4:33am
View
private void etxtFromVoucherNo_TextChanged(object sender, EventArgs e)
{
int ValueTo = Convert.ToInt32(etxtToVoucherNo.Text);
int ValueFrom = Convert.ToInt32(etxtFromVoucherNo.Text);
if (ValueFrom > ValueTo)
{
MessageBox.Show("From Voucher Number should be smaller than or equal to To Voucher Number", "Error");
}
}
private void etxtToVoucherNo_TextChanged(object sender, EventArgs e)
{
int ValueTo = Convert.ToInt32(etxtToVoucherNo.Text);
int ValueFrom = Convert.ToInt32(etxtFromVoucherNo.Text);
if (ValueTo < ValueFrom)
{
MessageBox.Show("To Voucher Number should be greater than or equal to From Voucher Number", "Error");
}
}
Sathish km
18-Aug-15 4:32am
View
again It comes
Sathish km
18-Aug-15 2:55am
View
getting error "Input string was not in a correct format. "
Sathish km
18-Aug-15 2:55am
View
private void etxtFromVoucherNo_TextChanged(object sender, EventArgs e)
{
//decimal FromVouNo = decimal.Parse(etxtFromVoucherNo.Text);
//decimal ToVouNo = decimal.Parse(etxtToVoucherNo.Text);
//if (FromVouNo <= ToVouNo)
//{
// etxtFromVoucherNo.Text = FromVouNo.ToString();
//}
//else
//{
// MessageBox.Show("From Voucher Number should be smaller than or equal to To Voucher Number", "Error");
//}
int ValueTo = Convert.ToInt32(etxtToVoucherNo.Text);
int ValueFrom = Convert.ToInt32(etxtFromVoucherNo.Text);
if (ValueFrom > ValueTo)
{
MessageBox.Show("From Voucher Number should be smaller than or equal to To Voucher Number", "Error");
}
}
Sathish km
18-Aug-15 2:54am
View
Input string was not in a correct format. When I entered into textbox.I have written in etxt_TextChanged() event is it correct?
Sathish km
11-Aug-15 8:42am
View
thk for ur reply..
Sathish km
8-Aug-15 2:31am
View
by using that widget button, i want to capture my screen
Sathish km
8-Aug-15 2:30am
View
i need a button to capture my screen like widget in windows(pc)
Sathish km
8-Aug-15 2:07am
View
i want to create wigdet for creating screen capture to pc
Sathish km
30-Jul-15 23:52pm
View
I just put my button outside of my Update panel.
Sathish km
29-Jul-15 8:58am
View
what i have to do work in multiple pc's?
Sathish km
29-Jul-15 8:12am
View
thk u! working .
Sathish km
29-Jul-15 4:36am
View
sorry,i mean asp.net mvc
Sathish km
28-Jul-15 10:18am
View
i want to do in pro-grammatically in c# Mvc 4
Sathish km
28-Jul-15 0:58am
View
Thank u man.Working fine. u r great!
Sathish km
27-Jul-15 1:09am
View
no.
Sathish km
24-Jul-15 2:15am
View
ok.give any possible solution..
Sathish km
23-Jul-15 5:07am
View
It means window is already open and you are again clicking on button and want it to be active one?
yes. it should open refreshed window
Sathish km
23-Jul-15 5:03am
View
thk u!
Sathish km
23-Jul-15 5:03am
View
Hey almost working! but the opened child window could not be refreshed
how to refresh child window while opening?
Sathish km
22-Jul-15 23:49pm
View
String open = "window.open(\"AJVErrorlog.aspx?ProjectCode=" + "1200" + "&ScheduleCode=" + EncrytedString(Session["ScheduleId"] as string) + "\",'mywindow', 'height=750,width=1200, menubar=0, resizable=yes')";
ScriptManager.RegisterStartupScript(this.ctbUpdatePanel, this.ctbUpdatePanel.GetType(), "focus", open, true);
i tried this method, but
Sathish km
22-Jul-15 8:14am
View
when i open this window by button click, it is showing front for first time only. after i click the button it still remains opened in background.
i want to show it in front whenever i clicked button.
Sathish km
14-Jul-15 1:22am
View
thk u.. i will chk
Sathish km
4-Jul-15 2:18am
View
great! working.. thnk u.
Sathish km
3-Jul-15 9:55am
View
I Done it. But it selects cells horizontally(rows-wise) . i need the rows of selected columns header (Vertical selection).
Sathish km
1-Jul-15 1:25am
View
Thank U very much! great working...
Sathish km
1-Jul-15 1:09am
View
public Form2(string strLabel1, string strLabel2, string dtlabel, string amt, string BkCode)
{
}
How to Pass the BkCode value To this
private void Form2_Load(object sender, EventArgs e)
{
if (BkCode == "901")
{
}
}
Sathish km
1-Jul-15 1:06am
View
Thnk U. I tried that you given, but in
if (BkCode == "901")
{// Code
} in Form2_Load here BkCode is null only. Why?
Sathish km
29-Jun-15 4:59am
View
Thank u, I tried that you have given but not working,
I got it by changing
foreach (System.Data.DataRowView s in ((ComboBox)sender).Items)
{
newWidth = (int)g.MeasureString(s[1].ToString(), font).Width
Sathish km
24-Jun-15 8:49am
View
I have added customized controls like .dll. I'm doing c# windows application
Sathish km
23-Jun-15 8:18am
View
Thk U... can please give me a example?
Sathish km
22-Jun-15 9:10am
View
I have created mobile web application(URL based), i want to open that URL by creating apk file (like shortcut)
Sathish km
22-Jun-15 9:06am
View
Yes. I need a Apk file for url to launch in a browser..
Sathish km
22-Jun-15 0:05am
View
Thk u. i want Without using Third party tool(WIX)
Sathish km
17-Apr-15 5:43am
View
Html is
<asp:TemplateField ItemStyle-HorizontalAlign="Left">
<HeaderTemplate>
<asp:CheckBox ID="chkSelectHeader" runat="server" onclick="javascript:checkAll(this);"
AutoPostBack="True"
OnCheckedChanged="chkSelectHeader_CheckedChanged" />
</HeaderTemplate>
<itemtemplate>
<asp:CheckBox ID="CheckBox1" onclick="Check_Click(this);" runat="server" AutoPostBack="true" OnCheckedChanged="CheckBox1_CheckedChanged" />
<%-- <asp:CheckBox ID="chkSelect" runat="server" AutoPostBack="true" OnCheckedChanged="chkSelect_CheckedChanged"/>--%>
<asp:TemplateField ItemStyle-HorizontalAlign="Left" HeaderText="Processed By">
<itemtemplate>
<asp:Label ID="lblCompletedBy" runat="server" Text='<% #Bind("strProcessedby")%>'>
Sathish km
17-Apr-15 5:42am
View
<script type="text/javascript" language="javascript">
function checkAll(objRef) {
var GridView = objRef.parentNode.parentNode.parentNode;
var inputList = GridView.getElementsByTagName("input");
var list = inputList[i];
for (var i = 0; i < inputList.length; i++) {
var row = inputList[i].parentNode.parentNode;
if (inputList[i].type == "checkbox" && objRef != inputList[i] )
{
inputList[i].checked = true;
if (objRef.checked && !(inputList[i].disabled)) {
inputList[i].checked = true;
}
else {
inputList[i].checked = false;
}
}
}
}
</script>
<script type="text/javascript" language="javascript">
function checkAll(objRef) {
var GridView = objRef.parentNode.parentNode.parentNode;
var inputList = GridView.getElementsByTagName("input");
for (var i = 0; i < inputList.length; i++) {
var row = inputList[i].parentNode.parentNode;
if (inputList[i].type == "checkbox" && objRef != inputList[i]) {
if (objRef.checked && !(inputList[i].disabled)) {
inputList[i].checked = true;
}
else {
inputList[i].checked = false;
}
}
}
}
</script>
<script type="text/javascript" language="javascript">
function Check_Click(objRef) {
var row = objRef.parentNode.parentNode;
var rowIndex = row.rowIndex;
//alert("RowIndex: " + rowIndex);
var dgrid = document.getElementById("<% =this.grvProcessList.ClientID %>");
//alert(dgrid.rows.length);
if (objRef.checked == true) {
var i1 = 0;
if (rowIndex + 1 == dgrid.rows.length) {
i1 = 0;
}
else {
i1 = 1
}
for (var i = i1; i < rowIndex; i++) {
var cell = dgrid.rows[i].cells[5];
for (var j = 0; j < cell.childNodes.length; j++) {
if (cell.childNodes[j].type == "checkbox") {
cell.childNodes[j].checked = true;
}
}
var cellforStatus = dgrid.rows[i].cells[2];
if (cellforStatus.childNodes.length > 0)
cellforStatus.childNodes[0].innerHTML = "Requested";
//for (var j = 0; j < cellforStatus.childNodes.length; j++)
//{
// //// if (cellforStatus.childNodes[j].type == "label") {
// // }
//}
}
}
else if (objRef.checked == false) {
var checkedCount = 0;
var i1 = 0;
if (rowIndex + 1 == dgrid.rows.length) {
i1 = 1;
}
else {
i1 = 0
}
for (var i = 1; i < dgrid.rows.length; i++) {
var cell = dgrid.rows[i].cells[5];
if (i >= rowIndex) {
for (var j = 0; j < cell.childNodes.length; j++) {
if (cell.childNodes[j].type == "checkbox") {
cell.childNodes[j].checked = false;
//if (cell.childNodes[j].checked == false) {
// dgrid.rows[i].cells[2
Sathish km
17-Apr-15 5:04am
View
<script type="text/javascript" language="javascript">
function checkAll(objRef) {
var GridView = objRef.parentNode.parentNode.parentNode;
var inputList = GridView.getElementsByTagName("input");
for (var i = 0; i < inputList.length; i++) {
var row = inputList[i].parentNode.parentNode;
if (inputList[i].type == "checkbox" && objRef != inputList[i] )
{
if (objRef.checked && !(inputList[i].disabled)) {
inputList[i].checked = true;
}
else {
inputList[i].checked = false;
}
}
}
}
</script>
Sathish km
17-Apr-15 3:37am
View
give sample code
Sathish km
17-Apr-15 3:36am
View
give sample javascript
thank u.
Show More