|
Hi,
One of my company websites has losed the TabIndex order.So when the user enter his username and password then press enter the focus is given to a search button and the search page opens.
It was working fine for along time.I uploaded the website files again but the problem still exist.Could any one help?
I am too late but i will never give up
|
|
|
|
|
Hi,
You can set the TabIndex of each controls according to the order.
|
|
|
|
|
Localy it is working fine already but online it is not working as expected.
I am too late but i will never give up
|
|
|
|
|
I observe currently when I write in the textboxes a javascript error occured like the following:
'WebForm_PostBackOptions' is undefined
I am too late but i will never give up
|
|
|
|
|
and also this one
Line 283
object expected
I am too late but i will never give up
|
|
|
|
|
I think you have to check the entire application once again in local and try any exceptions are going or not.
|
|
|
|
|
In local I check it many times and it works without any javascript exception.I will upload javascript files again even I don't expect it will solve my problem.
I am too late but i will never give up
|
|
|
|
|
Can i get the controls in Javascript...the control in hided in page load..
|
|
|
|
|
No you cannot get the hidden control in java script because when it rendered into html it check its visibility property.
Zahid Farooq
|
|
|
|
|
Hi guys Good Morning,
I am collecting some datas from my enduser...,
Using textbox and gridview...,
if the datas only from textbox we can send that directly to storedprocedure and execute it,
But in my case some datas are coming from textbox and gridview(Using viewstate first i stored in to Gridview)...,
Now how to pass this text box values and one datatable records to stored procedure using SqlCommand parameter?,
Thanks & Regards,
NeW OnE,
please don't forget to vote on the post
|
|
|
|
|
|
|
Hi janakinandhu,
Thanks for ur reply,
Its not what i asked...,
Actual probs is i have some fields in textbox and some values in datatable...,
Now this all the values i have to pass it in to my stored procedure at a time,
and there it have to execute...,
Ex:
2 textbox values:
100, Tester
Datatable values:
ID Deg Year
100 MCA 2007
100 MBA 2005
Like this is there...,
Now this all the values have to pass to stored procedure at a time
& "The 100, Tester have to insert in to Table1, same time The ID,Deg,Year datatable values have to insert in to table2...,
This what i asked....,
Thanks & Regards,
NeW OnE,
please don't forget to vote on the post
|
|
|
|
|
Hi Friends,
I am planning to do certification in ASP.NET (70-528).
I need some queries regarding it. They are
1.IS it very tough to get it.
2.How expensive it is
3.Advantages abt doing this certificate
4.Is there any book/link/any other stuff is available for study
5.Can I get latest dump?
Waiting for reply
Thanks in advance
Ashwini
|
|
|
|
|
Get it
SSK.
Anyone who says sunshine brings happiness has never danced in the rain.
|
|
|
|
|
Hi,
How to add Link button control or hyperlink to table cell Dynamically .
i have to bind data to its text from database .
Regards
Rameez
thanks in advance
|
|
|
|
|
create TableRow, TableCell
Create LinkButton Class Object with Required Properties.
Add It to TableCell
then add the tablecell to TableRow
finaly add it to Table.
Hope now you can do it using code. if you have any problem with code the you can ask me !!
cheers,
Abhijit
|
|
|
|
|
Hi, thanks for looking
I have a website with two themes A and B, each with a css file and a skin file
A part of the website has theme A and another part theme B
The part with the theme A has a masterpageA for all contentpages
The part with the theme B has a masterpageB for all contentpages
I want to get rid off theme A and apply theme B to the whole site, for these i set the pages theme in the webconfig to theme B, but since masterpageA's layout is read from the css flie in theme A, i have to reference the stylesheet in themeA in the head section of masterpageA
This kind of works, but the masterpageA layout is taking SOME of the settings of masterpageB's layout (the ones with equal names in both css files) and ignoring the css file assigned in the head section
Whats the precedence?
Shouldnt the stylesheet assigned in the head section of the masterpage be applied?
Thanks in advance
Alexei Rodriguez
|
|
|
|
|
AlexeiXX3 wrote: Shouldnt the stylesheet assigned in the head section of the masterpage be applied?
you have to mainttion the Stylesheet name in only Masterpage and in content plceholder you juts mention the master page name. this will do for you.
in MasterPageA ->ThemeA and MasterPage2- > ThemeB . Now if a page has master page A then it will take themeA and same for other.
cheers,
Abhijit
|
|
|
|
|
How do you set the theme for a single masterpage? in the website?
Alexei Rodriguez
|
|
|
|
|
|
Capture the rowdatabound event of the gridview and use the following code:
Dim r As System.Data.DataRowView = e.Row.DataItem
If r Is Nothing Then Exit Sub
If r.Item("DateField") > Now.AddMonths(-3) Then
e.Row.BackColor = Drawing.Color.Blue
End If
Just translate it to c#
Alexei Rodriguez
|
|
|
|
|
Thanks Alexeixx3. I will try it. I appreciate it.
|
|
|
|
|
I converted the code over to c# as best i could, but i'm getting some errors. any ideas? The error is:
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS1061: 'System.Data.DataRowView' does not contain a definition for 'Item' and no extension method 'Item' accepting a first argument of type 'System.Data.DataRowView' could be found (are you missing a using directive or an assembly reference?)
Source Error:
Line 126: }
Line 127:
Line 128: if ((row.Item("expdate") > Now.AddMonths(-3)))
Line 129: {
Line 130: e.Row.CssClass = "expDomains";
& the code is:
if (e.Row.RowType == DataControlRowType.DataRow)
{
System.Data.DataRowView row = (System.Data.DataRowView)e.Row.DataItem;
if ((row == null))
{
return;
}
if ((row.Item("expdate") > Now.AddMonths(-3)))
{
e.Row.CssClass = "expDomains";
}
}
thanks.
|
|
|
|
|
try with [] instead of ():
row.Item["expdate"]
Alexei Rodriguez
|
|
|
|