16,004,587 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by echosound (Top 43 by date)
echosound
6-Nov-12 4:02am
View
hi i try to save a doc file into a audio file but it is keep on processing after it is to be saved how to avoid this
echosound
25-Oct-12 2:08am
View
how to stop the speech
echosound
8-Oct-12 7:12am
View
i am trying to save all the files on clicking on my submit button
echosound
27-Sep-12 8:53am
View
i am not clear with the coding given by google r u having any samples plz give me
echosound
27-Sep-12 8:45am
View
i don't know how to do this
echosound
22-Sep-12 7:28am
View
any other solution to adopt the plagiarism
echosound
22-Sep-12 7:28am
View
any other solution to adopt the plagiarism
echosound
17-Sep-12 8:44am
View
but , i am using both ajax and telerik controls into my forms
echosound
17-Sep-12 8:36am
View
am getting the result by adding a scriptmanger instead of radscriptmanager and add a scriptmanagerproxy into my contentpages is that getting any error in future
echosound
10-Sep-12 1:28am
View
Deleted
<asp:GridView ID="assignReview_grid" runat="server" AllowPaging="True" PageSize="10"
AutoGenerateColumns="False" onpageindexchanging="assignReview_grid_PageIndexChanging"
onrowupdating="assignReview_grid_RowUpdating">
<columns> <asp:TemplateField HeaderText="SL No.">
<itemtemplate>
<%# Container.DataItemIndex + 1%>
<asp:TemplateField Visible="false">
<itemtemplate>
<asp:Label ID="lblid" runat="server" Text='<%# Bind("Content_id") %>'>
<asp:TemplateField HeaderText="ManuscriptNo">
<itemtemplate>
<asp:LabeL ID="lblmanuno" runat="server" Text='<%# Bind("ManuscriptNo") %>'>
<asp:TemplateField HeaderText="UserName">
<itemtemplate>
<asp:Label ID="lbluser" runat="server" Text='<%# Bind("UserName") %>'>
<asp:TemplateField HeaderText="DateOfSubmission">
<itemtemplate>
<asp:Label ID="lblDoS" runat="server" Text='<%# Bind("DateofSubmission") %>'>
<asp:TemplateField HeaderText="ArticleName">
<itemtemplate>
<asp:Label ID="lbl_article" runat="server" Text='<%# Bind("Articlename") %>'>
<asp:TemplateField HeaderText="ArticleType">
<itemtemplate>
<asp:Label ID="lbl_articletype" runat="server" Text='<%# Bind("Articletype") %>'>
<asp:TemplateField HeaderText="ReviewerList">
<itemtemplate>
<asp:ListBox ID ="lstbox" runat="server" SelectionMode="Multiple" OnSelectedIndexChanged="lstbox_SelectedIndexChanged" AutoPostBack="true">
<asp:TemplateField Visible="false">
<itemtemplate>
<asp:Label ID="lbl_Reviewerfilepath" runat="server" Text='<%# Bind("reviewerfilepath") %>'>
<asp:TemplateField HeaderText="SendToReviewer">
<itemtemplate>
<asp:LinkButton ID="lnkupadte" runat="server" CommandName="Update" >SendToReviewer
echosound
10-Sep-12 1:27am
View
now i want filter the listbox items based on the dropdownselectedindexchanged(outside of gridview)
echosound
10-Sep-12 1:25am
View
code to populate the listbox inside grid ...
protected void assignReview_grid_RowDataBound(object sender, GridViewRowEventArgs e)
{
try
{
if (e.Row.RowType == DataControlRowType.DataRow)
{
ListBox Lb = (ListBox)e.Row.FindControl("lstbox");
if (Lb != null)
{
lstdt = prfmqury.Reviwer_List();
Lb.DataSource = lstdt;
Lb.DataTextField = "ReviewerName";
Lb.DataValueField = "Reg_id";
Lb.DataBind();
}
}
}
catch (Exception ex)
{ }
}
echosound
10-Sep-12 1:19am
View
i can't able to get the listbox id inside the dropdown selectedindexchange event
echosound
10-Sep-12 1:19am
View
i can't able to get the listbox id inside the dropdown selectedindexchange event
echosound
10-Sep-12 1:18am
View
its not working
echosound
10-Sep-12 1:13am
View
findcontrol is not coming in dropdownselectedindexchanged event
echosound
10-Sep-12 1:06am
View
findcontrol is not coming in dropdownselectedindexchanged event
echosound
10-Sep-12 0:57am
View
i want to load the listbox(gridview) based on the dropdown selected index changed how can i access the listbox which is inside the gridview
echosound
20-Aug-12 8:33am
View
thank u for ur valuable comment i will try to make it !!
echosound
20-Aug-12 8:25am
View
i tired in chrome its also not firing
echosound
20-Aug-12 8:08am
View
now i add the postback and tried but am not getting the result is that any other way to achieve this plz suggest me !!!
echosound
20-Aug-12 8:04am
View
ya tested with autopostback=true but still its not firing
echosound
20-Aug-12 8:03am
View
i tried in the selectedindexchanged event here is my code .....
protected void lstbox_SelectedIndexChanged(object sender, EventArgs e)
{
ListBox lstvalues = (ListBox)sender;
GridViewRow grdlstboxrow = ((GridViewRow)lstvalues.Parent.Parent);
for (int i = 0; i < lstvalues.Items.Count - 1; i++)
{
if (lstvalues.Items.Count > 0)
{
if (lstvalues.Items[i].Selected)
{
if (lstvaluesstr == "")
{
lstvaluesstr = lstvalues.Items[i].Value;
}
else
{
lstvaluesstr += "," + lstvalues.Items[i].Value;
}
}
}
}
}
echosound
20-Aug-12 7:56am
View
<asp:GridView ID="Review_grid" runat="server" AllowPaging="True" PageSize="10"
AutoGenerateColumns="False" onrowdatabound="Review_grid_RowDataBound"
onrowupdating="Review_grid_RowUpdating" >
<columns>
<asp:TemplateField HeaderText="SL No.">
<itemtemplate>
<%# Container.DataItemIndex + 1%>
<asp:TemplateField Visible="false">
<itemtemplate>
<asp:Label ID="lblid" runat="server" Text='<%# Bind("Content_id") %>'>
<asp:TemplateField HeaderText="ManuscriptNo">
<itemtemplate>
<asp:LabeL ID="lblmanuno" runat="server" Text='<%# Bind("ManuscriptNo") %>'>
<asp:TemplateField HeaderText="UserName">
<itemtemplate>
<asp:Label ID="lbluser" runat="server" Text='<%# Bind("UserName") %>'>
<asp:TemplateField HeaderText="DateOfSubmission">
<itemtemplate>
<asp:Label ID="lblDoS" runat="server" Text='<%# Bind("DateofSubmission") %>'>
<asp:TemplateField HeaderText="ArticleName">
<itemtemplate>
<asp:Label ID="lbl_article" runat="server" Text='<%# Bind("Articlename") %>'>
<asp:TemplateField HeaderText="ArticleType">
<itemtemplate>
<asp:Label ID="lbl_articletype" runat="server" Text='<%# Bind("Articletype") %>'>
<asp:TemplateField Visible="false">
<itemtemplate>
<asp:Label ID="lbl_Reviewerfilepath" runat="server" Text='<%# Bind("reviewerfilepath") %>'>
<asp:TemplateField HeaderText="ReviewerList">
<itemtemplate>
<asp:ListBox ID ="lstbox" runat="server" SelectionMode="Multiple" OnSelectedIndexChanged="lstbox_SelectedIndexChanged" AppendDataBoundItems="true" >
<asp:TemplateField HeaderText="Update">
<itemtemplate>
<asp:LinkButton ID="lnkupadte" runat="server" CommandName="Update">Update
echosound
20-Aug-12 7:52am
View
in the above code i loaded the listbox control now i want the selected item value what should i do !!!
echosound
20-Aug-12 7:50am
View
protected void Review_grid_RowDataBound(object sender, GridViewRowEventArgs e)
{
try
{
if (e.Row.RowType == DataControlRowType.DataRow)
{
ListBox Lb = (ListBox)e.Row.FindControl("lstbox");
if (Lb != null)
{
lstdt = prfmqury.Reviwer_List();
Lb.DataSource = lstdt;
Lb.DataTextField = "ReviewerName";
Lb.DataValueField = "Reg_id";
Lb.DataBind();
}
}
}
catch (Exception ex)
{ }
}
echosound
20-Aug-12 7:40am
View
i set the postback as true but it is not firing properly
echosound
20-Aug-12 1:51am
View
i have been loaded my dropdownlistbox manually not getting data from db now how can i get the selected value from the Dropdown plz help !!!
echosound
17-Aug-12 8:24am
View
hey man i tried a lot if u have any suggestion just send me k
echosound
17-Aug-12 7:10am
View
this is my Source Code ...
<asp:GridView ID="user_grid" runat="server" AllowPaging="True" PageSize="10"
AutoGenerateColumns="False"
onpageindexchanging="user_grid_PageIndexChanging"
DataKeyNames="adminfilepath" onrowupdating="user_grid_RowUpdating"
onrowdatabound="user_grid_RowDataBound">
<columns> <asp:TemplateField HeaderText="SL No.">
<itemtemplate>
<%# Container.DataItemIndex + 1%>
<asp:TemplateField Visible="false">
<itemtemplate>
<asp:Label ID="lblid" runat="server" Text='<%# Bind("Content_id") %>'>
<asp:TemplateField HeaderText="ManuscriptNo">
<itemtemplate>
<asp:LabeL ID="lblmanuno" runat="server" Text='<%# Bind("ManuscriptNo") %>'>
<asp:TemplateField HeaderText="UserName">
<itemtemplate>
<asp:Label ID="lbluser" runat="server" Text='<%# Bind("UserName") %>'>
<asp:TemplateField HeaderText="DateOfSubmission">
<itemtemplate>
<asp:Label ID="lblDoS" runat="server" Text='<%# Bind("DateofSubmission") %>'>
<asp:TemplateField HeaderText="ArticleName">
<itemtemplate>
<asp:Label ID="lbl_article" runat="server" Text='<%# Bind("Articlename") %>'>
<asp:TemplateField HeaderText="ArticleType">
<itemtemplate>
<asp:Label ID="lbl_articletype" runat="server" Text='<%# Bind("Articletype") %>'>
<asp:TemplateField HeaderText="FileDownload">
<itemtemplate>
<asp:LinkButton ID="lnkDownload" runat="server" CommandName="Download" OnClick="lnkDownload_Click">Download
<asp:TemplateField Visible="false">
<itemtemplate>
<asp:Label ID="lbl_Reviewerfilepath" runat="server" Text='<%# Bind("reviewerfilepath") %>'>
<asp:TemplateField HeaderText="ReviwerList">
<itemtemplate>
<asp:ListBox ID="ListBox1" runat="server" SelectionMode="Multiple" EnableViewState="False" AppendDataBoundItems="true" >
<asp:TemplateField HeaderText="Status">
<itemtemplate>
<asp:DropDownList ID="drp_status" runat="server">
<asp:ListItem Text="Select Status" Value="">
<asp:ListItem Text="Accept" Value="1" >
<asp:ListItem Text="Reject" Value="2" >
<asp:TemplateField HeaderText="Update">
<itemtemplate>
<asp:LinkButton ID="lnkupadte" runat="server" CommandName="Update">Update
echosound
17-Aug-12 7:10am
View
this is my Source Code ...
<asp:GridView ID="user_grid" runat="server" AllowPaging="True" PageSize="10"
AutoGenerateColumns="False"
onpageindexchanging="user_grid_PageIndexChanging"
DataKeyNames="adminfilepath" onrowupdating="user_grid_RowUpdating"
onrowdatabound="user_grid_RowDataBound">
<columns> <asp:TemplateField HeaderText="SL No.">
<itemtemplate>
<%# Container.DataItemIndex + 1%>
<asp:TemplateField Visible="false">
<itemtemplate>
<asp:Label ID="lblid" runat="server" Text='<%# Bind("Content_id") %>'>
<asp:TemplateField HeaderText="ManuscriptNo">
<itemtemplate>
<asp:LabeL ID="lblmanuno" runat="server" Text='<%# Bind("ManuscriptNo") %>'>
<asp:TemplateField HeaderText="UserName">
<itemtemplate>
<asp:Label ID="lbluser" runat="server" Text='<%# Bind("UserName") %>'>
<asp:TemplateField HeaderText="DateOfSubmission">
<itemtemplate>
<asp:Label ID="lblDoS" runat="server" Text='<%# Bind("DateofSubmission") %>'>
<asp:TemplateField HeaderText="ArticleName">
<itemtemplate>
<asp:Label ID="lbl_article" runat="server" Text='<%# Bind("Articlename") %>'>
<asp:TemplateField HeaderText="ArticleType">
<itemtemplate>
<asp:Label ID="lbl_articletype" runat="server" Text='<%# Bind("Articletype") %>'>
<asp:TemplateField HeaderText="FileDownload">
<itemtemplate>
<asp:LinkButton ID="lnkDownload" runat="server" CommandName="Download" OnClick="lnkDownload_Click">Download
<asp:TemplateField Visible="false">
<itemtemplate>
<asp:Label ID="lbl_Reviewerfilepath" runat="server" Text='<%# Bind("reviewerfilepath") %>'>
<asp:TemplateField HeaderText="ReviwerList">
<itemtemplate>
<asp:ListBox ID="ListBox1" runat="server" SelectionMode="Multiple" EnableViewState="False" AppendDataBoundItems="true" >
<asp:TemplateField HeaderText="Status">
<itemtemplate>
<asp:DropDownList ID="drp_status" runat="server">
<asp:ListItem Text="Select Status" Value="">
<asp:ListItem Text="Accept" Value="1" >
<asp:ListItem Text="Reject" Value="2" >
<asp:TemplateField HeaderText="Update">
<itemtemplate>
<asp:LinkButton ID="lnkupadte" runat="server" CommandName="Update">Update
echosound
17-Aug-12 7:09am
View
i have also loaded my listbox ctrl from Db in the grid_RowDataBound event now ,How to get the selected values of the lst box
echosound
17-Aug-12 7:09am
View
i have also loaded my listbox ctrl from Db in the grid_RowDataBound event now ,How to get the selected values of the lst box
echosound
17-Aug-12 7:04am
View
i have also loaded my listbox ctrl from Db in the grid_RowDataBound event now ,How to get the selected values of the lst box
echosound
17-Aug-12 6:57am
View
<asp:GridView ID="user_grid" runat="server" AllowPaging="True" PageSize="10"
AutoGenerateColumns="False"
onpageindexchanging="user_grid_PageIndexChanging"
DataKeyNames="adminfilepath" onrowupdating="user_grid_RowUpdating"
onrowdatabound="user_grid_RowDataBound">
<columns>
<asp:TemplateField HeaderText="SL No.">
<itemtemplate>
<%# Container.DataItemIndex + 1%>
<asp:TemplateField Visible="false">
<itemtemplate>
<asp:Label ID="lblid" runat="server" Text='<%# Bind("Content_id") %>'>
<asp:TemplateField HeaderText="ManuscriptNo">
<itemtemplate>
<asp:LabeL ID="lblmanuno" runat="server" Text='<%# Bind("ManuscriptNo") %>'>
<asp:TemplateField HeaderText="UserName">
<itemtemplate>
<asp:Label ID="lbluser" runat="server" Text='<%# Bind("UserName") %>'>
<asp:TemplateField HeaderText="DateOfSubmission">
<itemtemplate>
<asp:Label ID="lblDoS" runat="server" Text='<%# Bind("DateofSubmission") %>'>
<asp:TemplateField HeaderText="ArticleName">
<itemtemplate>
<asp:Label ID="lbl_article" runat="server" Text='<%# Bind("Articlename") %>'>
<asp:TemplateField HeaderText="ArticleType">
<itemtemplate>
<asp:Label ID="lbl_articletype" runat="server" Text='<%# Bind("Articletype") %>'>
<asp:TemplateField HeaderText="FileDownload">
<itemtemplate>
<asp:LinkButton ID="lnkDownload" runat="server" CommandName="Download" OnClick="lnkDownload_Click">Download
<asp:TemplateField Visible="false">
<itemtemplate>
<asp:Label ID="lbl_Reviewerfilepath" runat="server" Text='<%# Bind("reviewerfilepath") %>'>
<asp:TemplateField HeaderText="ReviwerList">
<itemtemplate>
<asp:ListBox ID="ListBox1" runat="server" SelectionMode="Multiple" EnableViewState="False" AppendDataBoundItems="true" >
<asp:TemplateField HeaderText="Status">
<itemtemplate>
<asp:DropDownList ID="drp_status" runat="server">
<asp:ListItem Text="Select Status" Value="">
<asp:ListItem Text="Accept" Value="1" >
<asp:ListItem Text="Reject" Value="2" >
<asp:TemplateField HeaderText="Update">
<itemtemplate>
<asp:LinkButton ID="lnkupadte" runat="server" CommandName="Update">Update
echosound
18-Jul-12 6:02am
View
i searched for a lot but i didn't get any clear idea about it ...
echosound
18-Jul-12 5:57am
View
did u have any sample project in mvc ?
echosound
21-May-12 9:34am
View
SELECT DATEDIFF(DD,fromdate,todate), CONVERT(VARCHAR(10), YourDateColumnField, 105, AS [DD-MM-YYYY]) FROM tbl_Trans_LeaveRequestApproval
i tried this but it showing error !!!
echosound
21-May-12 8:31am
View
ya ok sure !!!
select DATEDIFF(DD,fromdate,todate) from tbl_Trans_LeaveRequestApproval from this query am getting the noofdays but i want the date(dd-mm-yyyy)
echosound
21-May-12 8:21am
View
no not like ok thank u i try it from my own !!!
BYE
echosound
21-May-12 8:10am
View
ya really want the dates based on the employee id!!!
echosound
21-May-12 8:07am
View
no i want the date between those two dates
echosound
21-May-12 7:57am
View
dates from the fromdate and todate
Show More