cancel
Showing results for 
Search instead for 
Did you mean: 

How to set a sap:Button not to submit validation

Former Member
0 Kudos

Hi,

is it possible to prevent a buttons click validating the form?

I miss s.th. like CausesValidation="false"

Thanks & Regards

Erhan

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

is no one here who can give an answer ?

I want to make a button doing a postback regardless if there are any Validators active.

Regards

Erhan

rima-sirich
Advisor
Advisor
0 Kudos

Hi Erhan,

Unfortunately, there is no possibility to prevent from the sap:Button to do validation. But you can use instead of it Microsoft Button Control. For getting standard "Look and Feel", use Portal Style Designer.

Regards,

Rima.

Former Member
0 Kudos

Hi Rima,

thank you for the reply. Is there any documentation how to use the Portal Style Designer ? Maybe some examples?

Thanks

Erhan

rima-sirich
Advisor
Advisor
0 Kudos

Hi Erhan,

You can read about using Portal Style Designer here

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/dotnet/pdk%20for%20.net/developer's%20Guide%20PDK%202.0%20for%20.NET/index.html

Programming with PDK for .NET -> Using Portal Style Designer

Regards,

Rima.

Former Member
0 Kudos

Hi again Rima,

the Connection to Portal through the Portal-Style Designer does not establish. "Could not connect to portal ... on host ...."

The Application runs without problems.

It worked before...

Do you have an idea?

Regards

Erhan

rima-sirich
Advisor
Advisor
0 Kudos

Hi Erhan,

As you have mentioned previously that you are using EP6 SP11, I would advice you to verify that you are working with the updated version of com.sap.portal.dotnet.framework.sda file.

1. Logon to the Portal with Administrator.

2. Navigate to the System Administration -> System Configuration.

3. In the Detailed Navigation choose the Service Configuration.

4. In the folders tree under the Applications navigate to the com.sap.portal.dotnet.framework.

5. Right click on the com.sap.portal.dotnet.framework -> Administrate.

6. In the List of Services verify that there are two following services:

com.sap.portal.dotnet.framework|DotNetDesignTimeService

com.sap.portal.dotnet.framework|DotNetStyleService

If those services are not in the services list then you have to deploy the com.sap.portal.dotnet.framework.sda - from PDK 2.5 for .NET installation file - through SDM tool and restart the Portal.

Regards,

Rima.

Former Member
0 Kudos

Hi Rima,

the services are there and there are running...

Erhan

Former Member
0 Kudos

Hi Rima,

because I just need a <asp:Button>, could you please give me an example for filling in the cssclass Attribute ? I think just "urBtnStd" is not sufficient.

Thanks

Erhan

rima-sirich
Advisor
Advisor
0 Kudos

Hi Erhan,

Unfortunately, you can't use the SAP css classes for designing non-SAP controls. But you can define your own css class as described in the "Using Portal Style Designer" documentation and use it for designing non-SAP controls.

Regards,

Rima.

Answers (0)