we developed two forms.asp x with Dynamic Controls,First form has one Dynamic button_Open ,this button has Click event ,through button_Open_Click event we need to open second form with dynamic controls through
(window.open()),window opening but forms.asp x not displaying controls and Second form overwriting on first form ,we added code for Dynamic Controls in both pages Page_PreInit event.Please suggest me to do the better way to maintain state of control both pages.
we are creating dynamic controls (Button,Text Box,etc..)on form, we write code for dynamic Controls in Page_preInit event and this form has all dynamic controls .
in Dyanamic Button Click event we need to open new window with dynamic controls.it is opening same window not in another popup window.
I had created a rdlc in asp .net web application.But I have a problem.
I have also created dataset for that.In my rdlc,employeeid,employee name,department,designation,date of works,time in,time out and working hours are there.In my procedure,there are four parameters are passed.Parameters are employee id,from date,to date,dept id,designation id.Problem is that I will have to get my report as employee id,employee name,department,today's date as a group..
Company ID :ms4455
Employee Name :thanu
time in ,time out and working hours will be as a report.Please help me to grouping this.Please give me a suggestion.I have to use sub report or not.
I have a page call Sample.aspx. I am using a Control (which have some textbox, radio buttonlist, etc) in it. and depending on no. of items that control got created repeatedly. on Sample.aspx, i have to find out its values for respective items.
look, the scene is like, i m ordering an item list and i have to enter a quantity n all details for a specific item. For that i have created a control, which is get called on number of items, like if there are three items, then three times control get called and showing three interfaces for input. On save button click, i want to save respected data to their respective items, how to achieve it.
can anyone tell me how to do paging for gridView in asp.net without using the sqlDataSource control, on clicking next it has to show the next page, on clicking prev it has to show the previous page in the gridView control. just like the operation we get in sqlDataSource control.
i'm fresher pls explain in detail. any links also will help me great..
//For paging a Gridview manually we have to handle the Gridview’s PageIndexChanged Event. //In the event we need to change the PageIndex of Gridview to the page that user has clicked and again bind the Gridview.protectedvoid gvPaging_PageIndexChanging(object sender, GridViewPageEventArgs e)
gvPaging.PageIndex = e.NewPageIndex;
//This is all you need to do to make manual paging in the Gridview.//For manually sorting in Gridview we need to handle the Sorting event of Gridview. Here is the code to do it.protectedvoid gvSorting_Sorting(object sender, GridViewSortEventArgs e)
DataTable dtSortTable = gvSorting.DataSource as DataTable;
if (dtSortTable != null)
DataView dvSortedView = new DataView(dtSortTable);
dvSortedView.Sort = e.SortExpression + " " + getSortDirectionString(e.SortDirection);
gvSorting.DataSource = dvSortedView;
privatestring getSortDirectionString(SortDirection sortDireciton)
string newSortDirection = String.Empty;
newSortDirection = "ASC";
newSortDirection = "DESC";
Jinal Desai - LIVE
Experience is mother of sage....
Last Visit: 31-Dec-99 18:00 Last Update: 3-Oct-23 16:20