Still the dropdowns are enabled when the popup appears
rakeshs312
Posts
-
opacity issue with ie6 -
opacity issue with ie6i have a div and style .modalBackground { background-color: Gray; filter: alpha(opacity=70); opacity: 0.7; } . This is for when loading a popup , disabling the background. but in IE6 all the dropdowns are enabled, What i can do for this Thanks in Advance Rk
-
dropdown issueHi All, I have a dropdown with two options."All" and "Selected". "All" is the default value. In selected index_changed event , when i changed to second option, it is hitting , but when going back to "All" ,the event is not firing. Drop down's viewstate and autopostback properties are true. Thanks Rk
-
Selected rows in a gridviewHi, there is no status for the selected row in the database . this is an aspx grid. i need to hide the unselected rows Thanks Rk
-
Selected rows in a gridviewHi all, i have a aspx grid with checkboxes for selecting the rows. I have some rows seleted and unselected rows also. how i can display only selected rows in the selectedindex_changed event of a dropdown Thanks Rk
-
Selecting issue in SQl ServerI have a sp for selecting all the records(policies here) and it should display 3 records and remainig in 'all others' category and total. But this is displaying 'all others' if there is less than 3 records. Waht should do for this
CREATE Procedure [dbo].[cpGetFirmRemittedPolicySummaryByPolicyType]
@firmId int = null,
@totalPoliciesToShow int = 0,
@currentDate datetime = NULL
AS
BEGIN
/******************************************************************************************Name: cpGetFirmRemittedPolicySummaryByPolicyType
Description: Returns a dataset with the count of remitted policies types by
MTD, YTD and Prior Year.Parmeters:
@firmId - Id of the firm that need to retrieve data for@totalPoliciesToShow - The number of unique policy types to display for the current month. If there
are more than totalPoliciesToShow policies in a given month the remaining ones are rolled up into
the 'All Others' Category. If the value is 0, then there is no rollup into the 'All Others' category,
all policy types are shown. There is one case where the 'All Others' category could still show with
the @totalPoliciesToShow value of 0. That is when there are policy types that exist for YTD or Prior
Year but not in MTD. In this case, the All others category will show zero for MTD but will have a
value for YTD and/or Prior Year.@currentDate - Date to be used as current date. If the value is not supplied, then the current date
is used. If a value is supplied, then that date is used to be considered as the current date. Added
for testing purposes.Testing:
-- Show all policies types for Firm Id 3244631 for the current date
exec dbo.cpGetFirmRemittedPolicySummaryByPolicyType 4699056, 0-- Show top 3 policies types for Firm Id 3244631, rolling all others into ALL OTHERS for current date
exec dbo.cpGetFirmRemittedPolicySummaryByPolicyType 3244631, 3-- Show top 3 policies types for Firm Id 3244631, rolling all others into ALL OTHERS, using 12/12/2012
-- as current date
exec dbo.cpGetFirmRemittedPolicySummaryByPolicyType 3244631, 3, '12/12/2012'********************************************************************************************/
SET NOCOUNT ON
declare @debug bit = 0
declare @ALL_OTHERS varchar(10) = 'All Others'-- If the @currentDate is NULL then use the current system date, otherwise use the date passed
-- This is used for testing purpose -
Text replaceThanks for the reply . i Found a solution like this
function ValidateTimeControl(s, e) {
var isValidHour = true;
var isValidMin = true;
var hours, minutes;
if (e.value != null) {
if (e.value.substring(0, 1).trim() == "" || e.value.substring(1, 2).trim() == "" ) {
isValidHour = false;
}
if (e.value.substring(3, 4).trim() == "" || e.value.substring(3, 4).trim() == "") {
isValidMin = false;
}
else {
hours = parseInt(e.value.substring(0, 2), 10);
minutes = parseInt(e.value.substring(3, 5), 10);if (hours > 12) {alert(hours) isValidHour = false; } if (minutes > 59) { isValidMin = false; } } } else { isValidHour = false; isValidMin = false; } if (isValidHour == false && isValidMin == false) { e.value = '00:00'; } else if (isValidHour == false) { e.value = e.value.replace(hours, '00'); } else if (isValidMin == false) { e.value = e.value.replace(minutes, '00'); }
}
-
Text replaceI have a text box andit will accept only time in the format 00:00(maximum value can be 12:59) . If user enter any of the value greater than this that part only needs to become 00. i have the code like this,but it will change the whole value to 00:00 . In the greater than conditions, what i have to write .
function ValidateTimeControl(s, e) {
var isValid = true;
if (e.value != null) {
if (e.value.substring(0, 1).trim() == "" || e.value.substring(1, 2).trim() == "" || e.value.substring(3, 4).trim() == "" || e.value.substring(3, 4).trim() == "") {
isValid = false;
}
else {
var hours = parseInt(e.value.substring(0, 2), 10);
var minutes = parseInt(e.value.substring(3, 5), 10);if (hours > 12) {alert(hours) isValid = false; } if (minutes > 59) { isValid = false; } } } else { isValid = false; } if (!isValid) { e.value = '00:00'; }
}
Thanks Rks
-
Postback issuethanks
-
Postback issueI Have a gridview . When i click one of the files in the gridview , it will display the file details in a table in the grid.But if i am in 20th or 19th page of the gridview, after clicking on the file , the grid is comming to page 1. Is there any property for the grid to prevent this.
-
Buttons are not working for enterkey press -
Tab index with firefox issueThese are the buttons and UseSubmitBehavior will not help . Firefox version is 16.0.2
-
Tab index with firefox issueHi All, When i am hitting Enter key after focused to a button with tab key , nothing is happening , but when i am hitting spacebar ,it is working (in Firefox) . What will be the issue . Please help Thanks Rks
-
What is this doing -
Aspx controlHi All, I have a control like this
This will take 12.59 as maximaum . But if i am entering morethan that like 22.99 , 12.59 is comming , i need to 00.00 if i am entering a higher value than 12.59. Please help Thanks Rk
-
Logout control hide in login page using master pageMenu MyMasterMenu = (Menu)Master.FindControl("logoutLink"); MyMasterMenu.Visible = false; I done like this in my login page but not working
-
Logout control hide in login page using master pageHi all, I have a control in my master page like this
Logout How i can hide this in my login page using this master page -
FInd Sundays onlyThanks verymuch for all
-
FInd Sundays onlyHi all, I have two dates, from date and to date. i need to display only sundays between that days[IN SQLSERVER2008] How can i do this. Please help and thanks in advance Rakesh
-
Clearing IE browsing historyHI all, How can i clear IE history with c# Thanks Rakesh