i am trying to create a paging facility for my dalatist dynamically and for this i am taking a hyperlink and putting it in a panel and showing the list of pages
but the problem is that when i click on next page for example from 1st page to another then it refreshes the page and opens the page with IsPostback = False and thus my all values that i have stored in a session becomes null like fisrt time loading
so it there any way so that when i click on the link it just show me the next bunch of record without refreshing the page ??
Note: i have created paging in my Stored procedure where each page contains 10 record per page
the code that i am using to bind the pager is as below : where default value of _PageIdx=1 and _totalPages = the number of pages that are coming from the database, it vary from search to another search
I have to show progress bar in datalist and having following scenario:
I am collecting response for the questions For each answer, total no of responses and their respective Percentage(%) is calculated
Now I have to show this % progress in progress bar
means if a answer have 100% response then progress bar show 100% (100% filled) if it have 50% response then only half of progress bar is filled (50% filled)and so on. response is calculated upto one decimal places(like it can be 33.3% or whatever)and respective % have to be shown in progress bar
So I have to create progress bar dynamically for each response %
How to display % in progress bar, I am using asp.net 2.0 with C#..
am using an Asp.net web application with C# code and my requirement is to create a Gridview programmatically with Auto generate columns false and i need to add textboxex and dropdown list boxes and Search buttons also in the gridview.
i need to customize the controls of Gridview columns and rows.
Now what i want to do is, while check one checkbox from the 1st checkbox group the same checkbox should be selected from the second checkbox group automatically, also if i deselect one checkbox that should be deselect from both checkbox group.
I used datalist to create Menu.I want to show my Menu Items in separate tabs,for example when I click on A item in menu,I want A tab opens,and when I click on B item in menu B tab opens and also A tab remains open,and when I click on C item on menu C tab opens,and Atab & B tab also remain open, how should I write this code? here is my code:
i would like to ask help coz i dont know how to create thumbnails images using datalist control and i am newbie to this control datalist, i have a database table with contains 3 cols which are employeeid, fullname, and imagepath, now i what to load the employee id, the fullname and the imagepath which actually contains only the path of actual image(which is located on imagefolder). my problem is how am i going to load that 3 info. i'm using asp.net c#