15,917,610 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 Mahesh2223 (Top 200 by date)
Mahesh2223
8-Nov-17 11:24am
View
thnx it amlost works fine..
Mahesh2223
30-Oct-17 14:30pm
View
screeshot, dynamically appending parent child.. need to show only selected check box
Mahesh2223
30-Oct-17 13:50pm
View
https://imgur.com/a/iovXq
Mahesh2223
30-Oct-17 12:10pm
View
no bro, i wil install that next time for sure.. please check the question you wil understand
Mahesh2223
30-Oct-17 10:40am
View
Deleted
bro need help bro urgently
Mahesh2223
30-Oct-17 10:04am
View
bro i will explain you shortly...
i have appended has parent child to list box, example
1 india
virat
shikar
2 australia
warner
smith
if i check india only virat shikar should expand
but all are expanding
Mahesh2223
30-Oct-17 7:17am
View
Deleted
bro posted plz help
Mahesh2223
30-Oct-17 3:03am
View
https://www.codeproject.com/Questions/1212900/How-to-hide-show-collapse-expand-dynamically-appen
Mahesh2223
30-Oct-17 2:55am
View
ok plz wait
Mahesh2223
30-Oct-17 2:01am
View
I m making a hirerarical checkboxes inside dropdown list , while expanding and collapsing its not working fine.. i have dynamically appended it.
Mahesh2223
28-Oct-17 2:42am
View
bro one small help?
Mahesh2223
16-Oct-17 9:33am
View
Bro u der
Mahesh2223
12-Oct-17 1:34am
View
bro list has key value pairs [name , true] , [address , false]
Mahesh2223
12-Oct-17 1:22am
View
is there any way i can send that values to aspx page
Mahesh2223
12-Oct-17 1:21am
View
I need to validate the values from session in aspx page
Mahesh2223
12-Oct-17 1:09am
View
Session["mylist"] = mymethod in cs page i am getting values..
in aspx page = when i use var obj = <%=Session["mylist"] %> i am getting System.collection.genericlist.list
Mahesh2223
12-Oct-17 0:10am
View
i need list bro , list to store in session
Mahesh2223
11-Oct-17 13:30pm
View
one small doubt bro i m returned list i need to store dat list in session and retrieve in aspx session["list"]= mymethod,how to get in aspx?
Mahesh2223
11-Oct-17 13:16pm
View
bro u derr
Mahesh2223
11-Oct-17 1:33am
View
Deleted
-
Mahesh2223
11-Oct-17 1:23am
View
Deleted
ok
Mahesh2223
11-Oct-17 1:18am
View
Deleted
-
Mahesh2223
11-Oct-17 1:12am
View
Yes asp.net
Mahesh2223
11-Oct-17 0:46am
View
In edit mode the values which are saved from that table, if i uncheck it and save need to modify, there is no uniqueness in record ids, as i have only team id , is there any way to accomplish this complete task work in both edit and insert mode
Mahesh2223
11-Oct-17 0:38am
View
is there any way from front end if i check or uncheck and click save while adding team, and in edit mode i can uncheck checked values and save the data in different tables with the same procedure
Mahesh2223
11-Oct-17 0:37am
View
bro from end if i check 3 checkboxes those 3 values should be saved in 3 different records... in procedure @requirements i get "hello,hi, bye" i am splitting and saving as different records
Mahesh2223
10-Oct-17 23:57pm
View
ye s bro , but the data is saved in different tables
Mahesh2223
10-Oct-17 23:49pm
View
yes bro i have modified question
Mahesh2223
10-Oct-17 23:47pm
View
alter Procedure [dbo].[ProcTeamInfoById](@id int, @txtName varchar(50), @phone varchar(100), @contactname varchar(100),
@address varchar(300), @email varchar(100), @captain varchar(100))
AS
Begin
if @id = -1
Begin
Declare @teamID varchar(max);
Insert into TeamDetails(TeamName, Phone, ContactName, Address, Email, captain)
values(@txtName, @phone, @contactname, @address, @email, @captain)
Set @teamID=SCOPE_IDENTITY();
// Here now i need to add to different table...
// check boxx checked values
Insert into teamrequirements values (teamid,requirement,value)
End
else
Update TeamDetails Set TeamName = @txtName, Phone = @phone, ContactName = @contactname,
Address = @address, Email = @email, Where TeamId = @id
End
Mahesh2223
10-Oct-17 23:42pm
View
bro check the updated question
Mahesh2223
10-Oct-17 23:41pm
View
prob is savingg to table please help me modify my procedure
Mahesh2223
10-Oct-17 23:36pm
View
While user is adding team without checking anything if he adds no record will be added in teamrequirements table..
but while editing in gridview row if he clicks and checks again records need to added, and if the same records are unchecked records need to be modified with values zero..
Is there any way i get teamrequirements id and modify stored procedure to workout this in both insert and update..
Mahesh2223
10-Oct-17 23:30pm
View
bro prob is saving to database while insert and edit mode of gridview
Mahesh2223
10-Oct-17 11:45am
View
ok bro plz check it..i will clearly explain my problem
Mahesh2223
10-Oct-17 11:27am
View
plz help
Mahesh2223
10-Oct-17 11:27am
View
Bro one urgent help bro, i m struggling to do it
Mahesh2223
9-Oct-17 1:09am
View
ok bro
Mahesh2223
7-Oct-17 11:27am
View
wen you will be back
Mahesh2223
7-Oct-17 8:19am
View
Bro u der >??
Mahesh2223
7-Oct-17 3:49am
View
https://www.codeproject.com/Questions/1209542/How-do-I-add-checkbox-checked-values-to-database
Mahesh2223
7-Oct-17 3:48am
View
bro one urgent help bro plz
Mahesh2223
27-Sep-17 9:14am
View
var str1;
var name;
var str3;
function Files(obj) {
var params = {
Bucket: 'MyBucket'
};
var spl = obj.id.split('_');
var id = spl[1];
alert(id);
// alert(fname);
s3.listObjects(params, function (err, data) {
if (err) console.log(err);
else {
var Files = data.Contents.filter(function (file) {
str1 = file.Key;
// alert(str1);
// file.key = Example : Mahesh_General_21_dfdf.txt
// file.key = Karthik_General_22_dsf.txt
var str2 = id // 21 from file.key
str3 = name // Mahesh
// Just need to filter names on gridview rows..i have hundreds of rows..
return (file.Key.indexOf('.txt') > 0 && (str1.indexOf(str2) != -1) && str1.indexOf(str3) != -1)
});
console.log(Files);
var value = Files[0].Key;
alert(value);
}
var params1 = { Bucket: 'MYBucket', Key: '' + value };
var url = s3.getSignedUrl('getObject', params1);
// alert(url);
window.open(url);
})
}
Mahesh2223
27-Sep-17 9:13am
View
Just when i click files i need to filter records from amazon s3, based on name id which i have in gridview row, if i have i get a object if not no object is there any other way to do it..
Mahesh2223
27-Sep-17 9:07am
View
yes , sorry..from next i will tell you clearly
Mahesh2223
27-Sep-17 8:34am
View
Bro i will show you the function to download files from amazon i am almost done. but small errors need to modify
Mahesh2223
27-Sep-17 1:01am
View
i need name also to be filtered lik this if (str1.indexOf(str2) != -1)
Mahesh2223
27-Sep-17 1:00am
View
beacuse each login has some rows of gridview the same need to be downloaded.
Mahesh2223
26-Sep-17 8:53am
View
Deleted
bro i am filtering here
please help me here
else {
var zipFiles = data.Contents.filter(function (file) {
str1 = file.Key;
// alert(str1);
var str2 = id
if (str1.indexOf(str2) != -1) {
console.log(str2 + " StudyID");
}
return (file.Key.indexOf('.zip') > 0 && str1.indexOf(str2) != -1);
});
Mahesh2223
26-Sep-17 8:42am
View
Here we get object. console.log(Files);
bro i got a idea, before the files received i need to filter , i mean grid has name and id, need to check this name and id are there in a file name if yes then we get files object , so i get exactly one based on the condition i pass
Mahesh2223
26-Sep-17 6:15am
View
files we get from amazon s3
Mahesh2223
26-Sep-17 6:14am
View
yes id is stored in row
Mahesh2223
26-Sep-17 5:27am
View
please check what i have tried
Mahesh2223
26-Sep-17 5:11am
View
bro key is saved in s3 amazon, i dono how to bind it for particular row, please check the code what i have tried
Mahesh2223
26-Sep-17 5:10am
View
how to know the key if it is for a particular row or not
Mahesh2223
26-Sep-17 3:47am
View
In template field i am taking download button, now i'm confused how do i get the particular record for a grid row from s3 , to download
Mahesh2223
26-Sep-17 3:45am
View
for grid i get from database
Mahesh2223
26-Sep-17 3:04am
View
<asp:BoundField DataField="Name" HeaderText="Name" SortExpression="Name" />
<asp:BoundField DataField="Category" HeaderText="Category" SortExpression="Category" />
<asp:BoundField DataField="Country" HeaderText="Country" SortExpression="Country" />
<asp:TemplateField HeaderText="#Action">
<itemtemplate>
Mahesh2223
26-Sep-17 3:01am
View
sorry row..
Mahesh2223
26-Sep-17 2:57am
View
If the get the key for the particular column in grid i am done ..
Mahesh2223
26-Sep-17 2:54am
View
Yes
Mahesh2223
26-Sep-17 2:49am
View
Fully confused how to bind particular record from s3 to gridview
Mahesh2223
26-Sep-17 2:48am
View
https://www.codeproject.com/Questions/1207832/How-to-get-the-key-name-from-amazon-s-to-download
Mahesh2223
26-Sep-17 2:44am
View
https://www.codeproject.com/Questions/1207832/How-to-get-the-key-name-from-amazon-s-to-download
Mahesh2223
26-Sep-17 2:44am
View
Bro some help..?
Mahesh2223
4-Sep-17 23:31pm
View
bro i am done with regex but , i am thinking like to show a label after upload of file , if file name has special chars then show which chars are there, example pdffilename`!.pdf show to user that `! special chars are there in file name as a message in label
Mahesh2223
4-Sep-17 7:54am
View
i wil try bro
Mahesh2223
4-Sep-17 7:53am
View
oh its ok i wil try
Mahesh2223
4-Sep-17 4:27am
View
bro requirement is like, file name should not have special chars , if it is has need to show which special chars file name has
Mahesh2223
4-Sep-17 3:06am
View
Bro need a regex to check special characters..file name should not have special chars
Mahesh2223
3-Sep-17 6:24am
View
Bro i have modified regex but, is there any other way to do which is like,,if file name has an special characters we need to remove it make a new file name by modifying it..
Mahesh2223
2-Sep-17 4:22am
View
https://www.codeproject.com/Questions/1204221/How-I-do-restrict-special-characters-in-file-name
Mahesh2223
2-Sep-17 4:21am
View
Bro help ??
Mahesh2223
28-Jul-17 14:12pm
View
Sure i wil try this
Mahesh2223
28-Jul-17 13:58pm
View
oh ok bro please post solution i wil try that
Mahesh2223
28-Jul-17 13:50pm
View
Deleted
the above code is ok when i run it in a new project , when i copy and paste the same in company project its not working may b because of plugins
Mahesh2223
28-Jul-17 13:49pm
View
bro i tried this..
var listA = [{ name: 'Sehwag', value: 'Sehwag' }, { name: 'Sachin', value: 'Sachin' }, { name: 'Kohli', value: 'Kohli' }];
var listB = [{ name: 'ABD', value: 'ABD' }, { name: 'Amla', value: 'Amla' }];
$(document).ready(function () {
$("input[name='Player']").on('click', function () {
alert("hi");
if ($(this).is(':checked') && $(this).val() == '1') {
$('#ddlPlayers').empty()
$.each(listA, function (index, value) {
$('#ddlPlayers').append('' + value.name + '');
});
}
else if ($(this).is(':checked') && $(this).val() == '2') {
$('#ddlPlayers').empty()
$.each(listB, function (index, value) {
$('#ddlPlayers').append('' + value.name + '');
});
}
else {
}
});
});
Mahesh2223
28-Jul-17 13:44pm
View
yes they are
Mahesh2223
28-Jul-17 12:26pm
View
var options = $('#<%=ddlPlayers.ClientID%>').html();
$('#rdoIndia').click(function (e) {
var text = $('#<%=ddlPlayers.ClientID%>').text();
alert(text);
// $('#<%=ddlPlayers.ClientID%>').html(options);
// if (text == "--Select--") return;
$('#<%=ddlPlayers.ClientID%>').append('' + text.substr(0, 3).val() + '');
alert("Hi");
});
Mahesh2223
28-Jul-17 12:24pm
View
i tried it from aftn but of no use so i posted it in the evng
Mahesh2223
28-Jul-17 12:23pm
View
on radio button checked cant we do itt
Mahesh2223
28-Jul-17 11:37am
View
ok bro,carry on, please give me a solution , i need to deliver it by tomo
Mahesh2223
28-Jul-17 11:36am
View
on radio button checked, cant we filter based on the value..if i do this way.
<asp:DropDownList ID="ddlPlayers" runat="server" CssClass="form-control">
<asp:ListItem Text="--Select--" Value="">
<asp:ListItem Text="Sehwag" Value="India">
<asp:ListItem Text="Kohli" Value="India">
<asp:ListItem Text="Sachin" Value="India">
<asp:ListItem Text="ABD" Value="Sa">
<asp:ListItem Text="Miller" Value="Sa">
<asp:ListItem Text="Quinton d" Value="Sa">
Mahesh2223
28-Jul-17 11:33am
View
not autocomplete , actually i check radio india, only india players should be displayed in dropdown, if i select sa, only those, not exactly auto complete..
Mahesh2223
28-Jul-17 11:30am
View
i try the scenario but i do mistakes that is the prob
Mahesh2223
28-Jul-17 11:28am
View
no bro i think u asked me about this last time also, but thing is code will be in company , i am trying the same scenario in home
Mahesh2223
28-Jul-17 11:25am
View
I am online bro
Mahesh2223
28-Jul-17 9:59am
View
bro u der ??
Mahesh2223
28-Jul-17 8:11am
View
ok ok sure
Mahesh2223
28-Jul-17 8:01am
View
Yes i know it how to use..
Mahesh2223
28-Jul-17 7:58am
View
Many answers for my questions i did it myself , thanks for your advice i follow it, all the questions which i am posting are which i am doing small mistakes, if i identify that before posting i could easily get answers myself for my questions..anyways thanks for your advice..
Mahesh2223
28-Jul-17 7:42am
View
I am a beginner so i am getting lot of doubts while doing the task, so i am posting a lot.
Mahesh2223
28-Jul-17 7:41am
View
Yes Sure.. Thanks
Mahesh2223
28-Jul-17 7:31am
View
bro help.??
https://www.codeproject.com/Questions/1198781/Autocomplete-dropdown-based-on-radio-button-checke
Mahesh2223
17-Jul-17 2:03am
View
Deleted
thanks bro , working.. update the sol with this
Mahesh2223
17-Jul-17 1:10am
View
i am getting all values but 2nd drop down value is not coming.
Mahesh2223
17-Jul-17 0:55am
View
No bro still selected value is not displayed in drop down
Mahesh2223
16-Jul-17 22:44pm
View
please check dis Question bro..in edit i am not able to get the selected value for drop down, which is cascading drop down.
Mahesh2223
16-Jul-17 22:42pm
View
https://www.codeproject.com/Questions/1196634/Cascading-drop-down-problem-in-gridview-edit-modal
Mahesh2223
16-Jul-17 2:31am
View
Need help plz
Mahesh2223
16-Jul-17 2:30am
View
hii bro
Mahesh2223
12-Jul-17 10:59am
View
yes sure i wil try it and let u know
Mahesh2223
11-Jul-17 1:54am
View
Yes i have a input where he types id
Mahesh2223
25-May-17 13:41pm
View
function changetextbox()
{
if (document.getElementById("ddid").value == "0") {
document.getElementById("txtbox").disable='true';
} else {
document.getElementById("txtbox").disable='false';
}
}
This way i am trying to enable disable it. but i am nt getting how to fill it with value and empty it for other
Mahesh2223
10-May-17 2:24am
View
Deleted
Hello bro u der ??
Mahesh2223
5-May-17 8:15am
View
hii u der ??
Mahesh2223
29-Apr-17 2:22am
View
Deleted
u der bro?
Mahesh2223
28-Apr-17 12:59pm
View
Deleted
at wat time shall i ping u tomo
Mahesh2223
28-Apr-17 11:18am
View
Deleted
shall i send page please give mail id, seeing that u can understand what is wrong by checking in the live
Mahesh2223
28-Apr-17 2:10am
View
Deleted
i can give u total code
Mahesh2223
28-Apr-17 1:19am
View
Deleted
but the thing is code wil be in office, i cannot install in office anything , but i can give u aspx page
Mahesh2223
27-Apr-17 14:24pm
View
Deleted
any sol temp sol for the issue for tomo
Mahesh2223
27-Apr-17 14:19pm
View
ok i will but i dont have now, i wil on saturday.
Mahesh2223
27-Apr-17 14:07pm
View
Deleted
yes i have tried that but the prob i m getting is , this methods calls a procedure so grids first page is repeated twice if i use that, small doubt hw to use dis one in the page load , y it is repeating is protected void GetDetails(string userId)
{
var dt = new DataTable();
dt = Apache.GetDetails(userId);
if (dt.Rows.Count > 0)
{
grd.DataSource = dt;
grd.DataBind();
}
} this is in the page load
GetDetails(superUserId);
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
BindGroups();
GetDetails(superUserId);
}
}
Mahesh2223
27-Apr-17 13:55pm
View
those names in drop down are unique there is no relation to one to another, u might be confused only one grid, that is editing prob nw i have edited crectly
Mahesh2223
27-Apr-17 13:53pm
View
Deleted
prob i guess is here
protected void grd_PageIndexChanging(object sender, GridViewPageEventArgs e)
{
grd.PageIndex = e.NewPageIndex;
GetDetails(UserId);// this id is userid whom ever logins
}
this i am calling
in page index change and page load
Mahesh2223
27-Apr-17 13:48pm
View
no only one grid
Mahesh2223
27-Apr-17 13:48pm
View
sorry i am not getting what u r telling any example sample
code,
Mahesh2223
27-Apr-17 13:26pm
View
Deleted
did u select the cardiac connections in the grid, and check whats happening , nd please tell wer to modify my code
Mahesh2223
27-Apr-17 13:21pm
View
this is the Question with the code please help wer to modify, its urgent task
https://www.codeproject.com/Questions/1184309/Grid-view-page-index-changing-giving-the-total-rec
Mahesh2223
27-Apr-17 13:15pm
View
Deleted
that is a screen, drop down and grid and a button to the right, please select cardiac connections in the dropdown, we get two pages of data in the grid, after clickng 2nd page in the grid look whats happending its fetching all records again thats the issue
Mahesh2223
27-Apr-17 13:12pm
View
Deleted
after login with credentials plz copy paste dis url
https://www.cardianex.com/Managedevices.aspx
Mahesh2223
27-Apr-17 12:59pm
View
Deleted
suadmin is username and password is welcome
Mahesh2223
27-Apr-17 12:56pm
View
Deleted
www.cardianex.com to the right red login button..or copy paste dis
https://
Mahesh2223
27-Apr-17 12:31pm
View
u der?
Mahesh2223
27-Apr-17 12:17pm
View
Deleted
please type www.cardianex.com to the right der wil be a login click dat, in the url befre login type adminslogin after dat tell me
Mahesh2223
27-Apr-17 12:08pm
View
Deleted
well i wil give u credentials for the live site if u see it u wil get an idea but if i give and i delete it is dat ok
Mahesh2223
27-Apr-17 12:03pm
View
no i dont have
Mahesh2223
27-Apr-17 10:39am
View
Karthik please help ???
Question
https://www.codeproject.com/Questions/1184309/Grid-view-page-index-changing-giving-the-total-rec
Mahesh2223
25-Apr-17 5:24am
View
no that also gives me error, but i have done with the sorting with arrows, how do i place an arrow in gridview on pageload, once the user clicks den normal sorting should be done, how to do this??
Mahesh2223
25-Apr-17 1:12am
View
Specified argument was out of the range of valid values.
Parameter name: index
LinkButton lbSort = (LinkButton)cell.Controls[0]; // Here i am getting error
Mahesh2223
12-Apr-17 11:01am
View
Deleted
i have updated the question.. i remove some comments u also remove it,, ya i am watching and working..
Mahesh2223
12-Apr-17 10:54am
View
Deleted
very simple man thanks.. its working i am almost done.. please update the solution with that download file from amazon may be it helps others..i marked answer
Mahesh2223
12-Apr-17 10:37am
View
Deleted
Table has size column cols.push('' + item.Size+ '') like this this is in bytes need to convert to mb
Mahesh2223
12-Apr-17 10:20am
View
function bytesToSize(bytes) {
var sizes = ['Bytes', 'KB', 'MB', 'GB', 'TB'];
if (bytes == 0) return 'n/a';
var i = parseInt(Math.floor(Math.log(bytes) / Math.log(1024)));
if (i == 0) return bytes + ' ' + sizes[i];
return (bytes / Math.pow(1024, i)).toFixed(1) + ' ' + sizes[i];
};
this function i am using on body tag of html on load i am using
Mahesh2223
12-Apr-17 8:36am
View
Deleted
Yes i googled it i got many functions. but how to use that funcion in html table
Mahesh2223
12-Apr-17 7:23am
View
Deleted
i have one more doubt bro, i have another requirement, my table has size column, the size is showing in bytes , how do we convert it to mb.
Mahesh2223
12-Apr-17 7:20am
View
Thnx for ur help bro i am done, var params = { Bucket: 'grade', Key: '' + obj.innerText };
var url = s3.getSignedUrl('getObject',params);
this is giving the download file
edit the sol and add this bro, i have marked as answer..
Mahesh2223
12-Apr-17 4:13am
View
https://grade.s3.amazonaws.com/ its showing this url, on doing this
cols.push('
' + Files[i].Key + '
') , if we append file name i am done any idea plz
Mahesh2223
12-Apr-17 4:02am
View
prob is anchor tag is not appending its file name to the url specified..
Mahesh2223
12-Apr-17 3:01am
View
url is correct now, but the file is not downloading from the link
Mahesh2223
12-Apr-17 2:49am
View
not working bro, may be because of window.open its takng same aspx page url
Mahesh2223
12-Apr-17 2:37am
View
Deleted
may be the anchor tag is not appending its file name to the url specified..and
here function openfile(obj) {
window.open = obj.innerText;
alert(obj) // gives me aspx page url.
}
Mahesh2223
12-Apr-17 2:15am
View
bro small issue with this i am getting the page url of my aspx page , i am not able to redirect to amazon i have kept alert box and checked.
Mahesh2223
11-Apr-17 13:12pm
View
ok i wil try and tel u
Mahesh2223
11-Apr-17 11:16am
View
can u please give some sample code based on this url and file name i gave, and when user clicks a anchor tag he needs to get that url with the filename.txt,
Mahesh2223
11-Apr-17 11:12am
View
it is creating table , issue is i need to download files based on the row
Mahesh2223
11-Apr-17 11:11am
View
url is almost same to all files except this User_Name.txt . example;
for every row it will be like=> https://Grade.sw.amazon.com/username.txt this is the url need to pass,suppose for 1st row https://Grade.sw.amazon.com/virat.txt
for 2nd https://Grade.sw.amazon.com/sehwag.txt
Mahesh2223
11-Apr-17 11:05am
View
table doesn't have, we need to add it , i have added like
tr.append("" + ""); and in my table i gave a header download
Mahesh2223
11-Apr-17 10:48am
View
can we add anchor tag to the table..this is my table
var tr;
for (var i = 0; i < textFiles.length; i++) {
tr = $('');
tr.append("" + textFiles[i].User_Name + "");
tr.append("" + textFiles[i].score + "");
tr.append("" + textFiles[i].team + "");
$('table').append(tr);
how to do it here
Mahesh2223
11-Apr-17 10:34am
View
ok i have one more doubt how do i download files based on the url from amazon s3 bucket.. table has 30 rows each row has file, dat need to be downloaded based on filename , ex 1st row has virat.txt /score : 100 / ind,
2 nd row has sehwag.txt score : 90/ ind, these files are saved in amazon s3 in a bucket called grade and key name is unique like virat.txt for 1st row and for 2nd sehwag.txt for 2nd row, if i give url like https://grade.s3.amazon.com/virat.txt directly in the browser its downloading now need for unique file names
Mahesh2223
11-Apr-17 10:18am
View
var tr;
for (var i = 0; i < textFiles.length; i++) {
tr = $('');
tr.append("" + textFiles[i].User_Name + "");
tr.append("" + textFiles[i].score + "");
tr.append("" + textFiles[i].team + "");
$('table').append(tr);
this way i am binding to table, requirement is to gridview. but data i am not able to get in codebehind
Mahesh2223
11-Apr-17 10:14am
View
var params = {
Bucket: 'Grade',
};
s3.listObjects(params, function (err, data) {
if (err) console.log(err);
else {
var textFiles = data.Contents.filter(function (file) {
return (file.Key.indexOf('.txt') > 0);
});
console.log(textFiles);
}
this returns me data
Mahesh2223
11-Apr-17 8:28am
View
can u tel me how to get it using c# ??
please??
Mahesh2223
11-Apr-17 8:22am
View
But getting data using function is very easy so using ajax that data need to use in code behind..any other easy way to do it
Mahesh2223
31-Mar-17 6:41am
View
Deleted
requirement is to get context.request.files.count >0
Mahesh2223
31-Mar-17 6:27am
View
Deleted
zip content is my file which is zipped, may be i doing wrong with form data
Mahesh2223
30-Mar-17 7:51am
View
Karthik
https://www.codeproject.com/Questions/1179540/Context-request-files-count-is-always-zero-when-I
Please check
Mahesh2223
27-Mar-17 3:51am
View
https://www.codeproject.com/Questions/1178902/How-to-get-the-zip-file-from-a-folder-containing-f
Mahesh2223
27-Mar-17 3:36am
View
I am getting a zip file but the requirement is, i have a folder in that files are there that file need to zipped in javascript any ideas??
Mahesh2223
27-Mar-17 3:34am
View
var zip = new JSZip();
zip.file("Hello.txt", "Hello World");
zip.generateAsync({ type: "blob" })
.then(function (content) {
saveAs(content, "New.Zip");
});
Mahesh2223
25-Mar-17 15:01pm
View
hey i fixed it saveas has seperate js file it Was not found. now i am getting it...
Mahesh2223
25-Mar-17 14:36pm
View
Deleted
Getting this error
Mahesh2223
25-Mar-17 14:36pm
View
Deleted
Uncaught ReferenceError: zsip is not defined
at pack (WebForm1:13)
at HTMLInputElement.onclick (WebForm1:32)
Mahesh2223
25-Mar-17 4:56am
View
Deleted
No error in console and not getting zip file.
Mahesh2223
25-Mar-17 4:21am
View
did u see my question
https://www.codeproject.com/Questions/1178493/Not-able-to-get-the-zip-file-in-javascript
my code , please reply there,
Mahesh2223
25-Mar-17 4:19am
View
I am getting zip when i do in c# but when i do it in javascript i am not getting zip file, the code looks ok but dono wer is the issue,
Mahesh2223
25-Mar-17 4:18am
View
I am getting zip when i do in c# but when i do it in javascript i am not getting zip file, the code looks ok but dono wer is the issue,
Mahesh2223
24-Mar-17 12:43pm
View
oh okay tc
Mahesh2223
24-Mar-17 8:23am
View
https://www.codeproject.com/Questions/1178493/Not-able-to-get-the-zip-file-in-javascript
Mahesh2223
24-Mar-17 8:22am
View
https://www.codeproject.com/Questions/1178493/Not-able-to-get-the-zip-file-in-javascript
Mahesh2223
24-Mar-17 8:16am
View
karthik have a issue in creating zip files in javascript, i have posted the question.
Mahesh2223
20-Mar-17 6:52am
View
if i select another row in grid which has different doctor name for group rajiv its showing default doctor on 1st click,suppose groupname rajiv pandit , and doctor name gates, if click dis edit row click for first time its showng rajiv, rajiv, when i close it and click again its showing rajiv , doctor gates .. diff issue totaly
Mahesh2223
20-Mar-17 6:30am
View
copy and paste dat
Mahesh2223
20-Mar-17 6:30am
View
Deleted
https://i25i.imgup.net/1strowb168.PNG
Mahesh2223
20-Mar-17 6:17am
View
prob is i am saving the image by snipping tool, that images are not uploading on imgur, thats y i could nt share wenever u ask screenshot
Mahesh2223
20-Mar-17 5:58am
View
Cool u didnt get what i said, can i get ur mail id so that i share screen shot
Mahesh2223
20-Mar-17 5:50am
View
Drop downs default value its showing wen i click , it shouldnt like that ,
Mahesh2223
20-Mar-17 5:40am
View
Suppose Grid 1st row, Raju(cascading drop down) , Ravi , 10 , 90,
2nd row Raju(cascading drop down), pari , 30 ,70
when i click on edit on 2nd row its showing Raju ravi , 30 70, for first click, on 2nd raju, pari , 30 , 70. y is dis ??? this is a popup on edit click
Mahesh2223
20-Mar-17 5:36am
View
I have only one issue, when we click edit in gridview a popup comes i have two drop downs cascading dropdowns , but on first edit click in grid drop downs are showing default value , on second click its showng the exact data
Mahesh2223
20-Mar-17 5:32am
View
cool karthik everything i cleared,
Mahesh2223
18-Mar-17 1:17am
View
U are correct I changed to int , its working , thnx man
Mahesh2223
18-Mar-17 1:13am
View
Thanks Dude its working ,But dono I want to rate it 5 it is not taking my rating
Mahesh2223
18-Mar-17 0:50am
View
int not null
Mahesh2223
17-Mar-17 11:19am
View
That automatically generates id's based on users
Mahesh2223
17-Mar-17 11:12am
View
Hey karthik U der??
Mahesh2223
16-Mar-17 8:11am
View
U der ??
Mahesh2223
16-Mar-17 8:09am
View
//cmd.Parameters.Add("@recordId", hdnid.Value); here record id value is not getting, i tried through function it is empty
Mahesh2223
16-Mar-17 8:07am
View
please check now
Mahesh2223
16-Mar-17 8:03am
View
ok i will update
Mahesh2223
16-Mar-17 7:54am
View
10 instances should refer to 10.. But id value i m nt getting in hidden field
Mahesh2223
16-Mar-17 4:15am
View
I have used Link Button and to the text property i have binded i am getting record value, now how to pass that value as parameter or how to pass link button text value to label ??
Mahesh2223
16-Mar-17 1:48am
View
please solve dis issue
Mahesh2223
16-Mar-17 1:48am
View
CREATE procedure Sp_UpdateVrData
@GroupCode nvarchar(20), @DoctorCode nvarchar(20), @UpperLimit int, @DownLimit int, @iskmc int ,@kmccode nvarchar(20) , @recordId int
as
Begin
Update VRRatio set GroupCode = @GroupCode , DoctorCode = @DoctorCode , UpperLimit = @UpperLimit , DownLimit = @DownLimit , IsKMC = @iskmc ,
KMCDOCCode = @kmccode Where RecordID = @recordId
End
Mahesh2223
16-Mar-17 1:47am
View
protected void Update_Click(object sender, EventArgs e)
{
SqlConnection con = new SqlConnection(cs);
SqlCommand cmd = new SqlCommand("Sp_UpdateVrData", con);
cmd.CommandType = CommandType.StoredProcedure;
cmd.Parameters.AddWithValue("@GroupCode", ddlGrps.SelectedItem.Value);
cmd.Parameters.AddWithValue("@DoctorCode", ddlDoctor.SelectedItem.Value);
cmd.Parameters.AddWithValue("@UpperLimit", txtUpLimit.Text);
cmd.Parameters.AddWithValue("@DownLimit", txtdownLimit.Text);
cmd.Parameters.AddWithValue("@iskmc", iskmc.Checked);
cmd.Parameters.AddWithValue("@kmccode", txtboxchk.Text);
cmd.Parameters.Add("@recordId",hdnRecordId.Value);
con.Open();
cmd.ExecuteNonQuery();
con.Close();
// // Response.Redirect(Request.Url.AbsoluteUri);
}
Mahesh2223
16-Mar-17 1:46am
View
<asp:HiddenField ID="hdnRecordId" Value='<%# Eval("RecordID") %>' runat="server" />
<asp:button id="btnupdate" runat="server" cssclass="btn btn-primary btn-sm" onclick="Update_Click" onclientclick="return UpdateMe()" text="Update"/>
Mahesh2223
16-Mar-17 1:46am
View
Well Karthik I Solved That too, But I have One more Issue In my Project , On Click Of a Edit Button In Grid I wil Get Pop Up With all Dat Grid Row Details , But My Edit Should be Based on Id, Which is in Hidden Field, I am not able to pass ID as Parameter to Update Query How to do this ?? i wil send update Query, Hidden Field and Stord Procedre too, On Click of edit update should happen based on id
Mahesh2223
15-Mar-17 4:18am
View
how to take screen shot
Mahesh2223
15-Mar-17 4:07am
View
Making grid to single page in browser, i have used this but completely not working
grdMtVrData.Attributes.Add("style", "word-break:break-all;word-wrap:break-word");
Mahesh2223
15-Mar-17 3:38am
View
Without dragging grid should limit to single page
Mahesh2223
15-Mar-17 3:35am
View
Its working.. Grid has 34 columns how to resize it to single page without dragging
Show More