|
i create a webpart project . i dont know u work with sharepoint webpart or no but i create my controls in cs form and add my webpart to sharepoint
when i add this.Controls.Add(fv) it has error with this message:
Control 'fv1' of type 'RequiredFieldValidator' must be placed inside a form tag with runat=server.
|
|
|
|
|
I am asking about TextBox control.
Where is your TextBox control? Do not you put requiredFieldValidator control with textBox?
If you do not then put one panel control and add validator control into the panel.
Or search in google.
here I got sample code for webpart project.
Check It out.Click here title="New Window">^]
please don't forget to vote on the post that helped you.
|
|
|
|
|
iam having a check box list where iam assing dt to the checkbox list using
ChklistCnt.DataSource = dt
ChklistCnt.DataTextField = "Name"
ChklistCnt.DataValueField = "Name"
ChklistCnt.DataBind() like this
iam not getting the selected check box values. how can i get the selected vlaues of the check box
|
|
|
|
|
lakshmichawala wrote: am not getting the selected check box values. how can i get the selected vlaues of the check bo
have you tried this?
string selectedValue=ChklistCnt.SelectedItem.Value;
regards
kHan
please don't forget to vote on the post that helped you.
|
|
|
|
|
Please try yourself, It is not a difficult thing.
Google[^]
|
|
|
|
|
If you want to loop through the check box list, try to use the below code scripts:
for (int i=0; i<=CheckBoxList1.Items.Count - 1; i++)
{
if (CheckBoxList1.Items[i].Selected)
string lst += CheckBoxList1.Items[i].Text;
}
This will get the entire selected items.
Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.
|
|
|
|
|
Hi,
Reading the values from excel sheet , using those values i will generate usercontrol dynamically. usercontrol will have nearly 50 controls which is done in server side.
problem occurs if we have more than 50 records in Excel file.
It's working fine in http , but https is a problem. In HTTP it takes only 5 to 7 minutest to load 100 dynamic usercontrol in a page.
If i go for 100 records in Excel, At that time in IE takes long time and finally displays empty page. like Page cannot be found,.
it seems to be executionTimeout problem.
For that i had increased the executionTimeout =1200 and debug ="false" in web config, but still the problem occurs.
If anybody have any idea please reply me.
Thanks in advance.
Eswar.
|
|
|
|
|
attalurisubbu wrote: In HTTP it takes only 5 to 7 minutest to load 100 dynamic usercontrol in a page.
Try to increase the maxRequestLength also.
Copy and paste is a design error
|
|
|
|
|
i have created webservice
its correctly working
But its not displaying in frontend
can u help me
|
|
|
|
|
Hello
When i try to run my app, some texboxes or others it'll be more long than i plan to be.
Any solution or help will greatly appreciated
Thanks in advance
Assaf
|
|
|
|
|
did you used width property of style of textBox?
I Wish the Life Had CTRL-Z
Wizard's First Rule : People are fool,they believe what they want to believe or what they afraid to believe
www.subaitech.blogspot.com
|
|
|
|
|
Thanks
Assaf
|
|
|
|
|
Did that work?
We are not a Code Charity
|
|
|
|
|
Have you got a skin which is set to set a size for all textboxes?
We are not a Code Charity
|
|
|
|
|
Please how to do ?
I'm new to asp.net and i try to learn
If you can give me an example or an article it'll be very helpfull
Thanks in Advance
Assaf
|
|
|
|
|
Follow W3C standards while designing. It can avoid many issues like this.
|
|
|
|
|
Pplace text boxes in table manner with size settings. I am also suggest w3schools
Balasubramanian K.
|
|
|
|
|
hi,
I have try iTextSharp.dll before. But have any ddl file that can generate pdf file.
thanks
From: eva wong
|
|
|
|
|
check these out:
http://www.codeproject.com/KB/aspnet/HTML2PDF.aspx
http://www.developerfusion.co.uk/show/4266/
We are not a Code Charity
|
|
|
|
|
iam having a list box where iam getting the list of user name .now i want to select the user name in the list box usign check boxes .how it is possible
|
|
|
|
|
there is a control in asp.net CheckBoxList
|
|
|
|
|
hi wat to do with this will u tell the prcedure plz
|
|
|
|
|
|
lakshmichawala wrote: iam having a list box where iam getting the list of user name .now i want to select the user name in the list box usign check boxes .how it is possible
I think you want to bind users with checkbox control in ListBox.
This is not possible
Question:
Why do you want to put checkbox in Listbox?
You can also bind users list using datalist control and you can put checkbox also.
Regards
kHan
please don't forget to vote on the post that helped you.
|
|
|
|
|
hello
i create a custom workflow in VS2005 and activate its feature in a site collection and
associate its template with a custom list. i choose "start this workflow when a new item
is created" option when i associate workflow template with the custom list.
when i create a new item in my custom list nothing is happen and when i go to my log file
i face with this exception :
"AutoStart Workflow: System.ArgumentException: New instances of this workflow template are currently disallowed.
at Microsoft.SharePoint.Workflow.SPWorkflowManager.StartWorkflowElev(SPListItem item, SPFile file, SPWorkflowAssociation association, SPWorkflowEvent startEvent, Boolean bAutoStart, Boolean bCreateOnly)
at Microsoft.SharePoint.Workflow.SPWorkflowAutostartEventReceiver.AutoStartWorkflow(SPItemEventProperties properties, Boolean bCreate, Boolean bChange, AssocType atyp)"
i dont know where is my fault
please help me as soon as posible
tanks in advance
|
|
|
|